zig/lib/std
Luuk de Gram fd26c12469
RunCompareStep: implement new step
This creates a new step that can run foreign binaries when
emulation is enabled using options such as `enable_qemu`.
When an incompatible binary is found, the binary will not be executed.
This differs from `RunStep` which will always execute a binary,
regardless of the compatibility.

This is useful for usecases where the user wishes to allow for running the
binary on any supported platform either natively or through emulation,
but not generate an error when met with an incompatibility.
The above is useful when creating test cases that rely on running the binary
and optionally verifying its output.

The addition of this Step was generated by the need for our linker tests.
For that reason, a handy function was created on `CheckObjectStep` to ease
the setup for that.
2022-07-23 10:03:46 +02:00
..
atomic
build RunCompareStep: implement new step 2022-07-23 10:03:46 +02:00
c add FreeBSD support to std.os.getFdPath 2022-07-15 10:16:31 +03:00
compress stage2: make error{} the same size as anyerror 2022-06-11 23:49:33 +03:00
crypto crypto.sign.ed25519: add support for blind key signatures (#11868) 2022-07-08 13:21:37 +02:00
dwarf
event std.event: use .{} to initiate Lock to unlocked state 2022-07-01 00:09:36 +03:00
fmt std.fmt.parse_float: disable failing aarch64 test from LLVM 14 2022-07-06 16:23:42 -07:00
fs std.fs: remove OpenDirOptions.iterate 2022-07-15 14:39:21 +03:00
hash disable std lib test failing with self-hosted ReleaseSafe 2022-07-20 12:50:58 -07:00
heap Move sys_can_stack_trace from GPA to std.debug so that it can be re-used as needed 2022-06-25 21:27:56 -07:00
http
io std: update test cases to reflect new packed struct semantics 2022-07-12 18:38:11 -07:00
json std.json: move tests to json/test.zig file 2022-07-07 00:05:21 -07:00
math Use Managed.len in sub, divFloor, and divTrunc too 2022-07-16 11:46:13 +09:00
mem
meta
net AstGen: fix loop control flow applying to wrong loop 2022-07-13 16:10:41 -07:00
os LLVM: fix lowering of structs with underaligned fields 2022-07-21 22:51:17 -07:00
rand crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
target update CPU features to LLVM 14 2022-07-01 21:35:19 -07:00
testing Move sys_can_stack_trace from GPA to std.debug so that it can be re-used as needed 2022-06-25 21:27:56 -07:00
Thread math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
time
tz
unicode
valgrind
x LLVM: fix lowering of structs with underaligned fields 2022-07-21 22:51:17 -07:00
zig macos: add /usr/local/* paths conditional on macOS major version 2022-07-22 14:11:23 -07:00
array_hash_map.zig
array_list.zig
ascii.zig
atomic.zig
base64.zig
bit_set.zig stage2: check that struct is a tuple when value tags differ in eql 2022-06-17 21:04:21 +03:00
bounded_array.zig
buf_map.zig
buf_set.zig
build.zig RunCompareStep: implement new step 2022-07-23 10:03:46 +02:00
builtin.zig std.builtin.returnError: disable runtime safety 2022-07-07 18:24:34 -07:00
c.zig
child_process.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
coff.zig
compress.zig stage2: small fixes + adjustments to std tests 2022-06-11 23:49:33 +03:00
comptime_string_map.zig
crypto.zig crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
cstr.zig
debug.zig Merge pull request #11919 from squeek502/failing-allocator-stacktrace 2022-06-28 14:44:00 -04:00
dwarf.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
dynamic_library.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
elf.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
enums.zig
event.zig
fifo.zig
fmt.zig Fix #9184: fmtIntSizeDec/fmtIntSizeBin support FormatOptions 2022-07-21 18:41:21 +03:00
fs.zig std.fs: remove accidental comptime block 2022-07-17 11:54:13 +03:00
hash.zig
hash_map.zig
heap.zig std: update tests to stage2 semantics 2022-06-03 20:21:20 +03:00
http.zig
io.zig
json.zig std.json: move tests to json/test.zig file 2022-07-07 00:05:21 -07:00
leb128.zig std.leb128: disable regressed test due to LLVM 14 2022-07-06 20:12:00 -07:00
linked_list.zig
log.zig std.log: deduplicate switch 2022-07-09 15:19:03 +03:00
macho.zig macho: Pass sections by pointer when slicing names 2022-07-20 03:45:29 -04:00
math.zig std.math: add degreesToRadians and radiansToDegrees 2022-07-11 16:40:05 +03:00
mem.zig std: update test cases to reflect new packed struct semantics 2022-07-12 18:38:11 -07:00
meta.zig std: update tests to stage2 semantics 2022-06-03 20:21:20 +03:00
multi_array_list.zig
net.zig std: adjust for stage2 semantics 2022-06-07 21:27:07 +03:00
once.zig
os.zig std.fs: remove OpenDirOptions.iterate 2022-07-15 14:39:21 +03:00
packed_int_array.zig
pdb.zig
priority_dequeue.zig
priority_queue.zig PriorityQueue: use compareFn in update() 2022-07-22 19:25:38 +03:00
process.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
Progress.zig std.Progress.log: adjust API 2022-05-26 21:58:19 -07:00
rand.zig crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
segmented_list.zig std: disable tests that crash stage2 2022-06-03 20:21:20 +03:00
SemanticVersion.zig
simd.zig SIMD size suggestions: suggestions code now compiles, added more 2022-07-22 18:58:43 +03:00
sort.zig
start.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
start_windows_tls.zig
std.zig
target.zig update CPU features to LLVM 14 2022-07-01 21:35:19 -07:00
testing.zig std.testing: add refAllDeclsRecursive function 2022-07-16 12:33:25 +03:00
Thread.zig std.Thread: fix mutable ref of temporary 2022-07-04 16:53:41 -07:00
time.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
treap.zig
tz.zig std.tz: fix function returning pointer to local variable 2022-06-17 21:04:21 +03:00
unicode.zig Sema: handle tuple and anon_struct in resolveTypeFully 2022-06-11 11:02:56 +03:00
valgrind.zig
wasm.zig
x.zig stage2: small fixes + adjustments to std tests 2022-06-11 23:49:33 +03:00
zig.zig Compilation: do not repeat same source line for notes 2022-07-10 23:47:56 +03:00