zig/lib/std
Robin Voetter aa398034eb
testing: disable printing for targets that do not support it
The SPIR-V cannot print the helpful error messages from the
std.testing module. This commit overrides the default print
function used here to one that only prints if the target supports
it. For now, its only done for SPIR-V, but this function could
be adapted to more targets that need it.
2023-07-01 14:29:11 +02:00
..
atomic all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Build Build: make InstallDirStep use a FileSource 2023-06-26 15:59:53 -07:00
c std.sort.block: add safety check for lessThan return value 2023-06-26 17:50:10 -07:00
compress all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
crypto openbsd: add root certificate scanning 2023-06-29 10:29:28 -07:00
dwarf
event all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fmt all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fs all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
heap all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
http all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
io all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
json all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
math all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
mem all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
meta all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
net Disallow named test decls with duplicate names 2023-05-08 10:59:06 +03:00
os all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
rand is has -> has 2023-06-25 23:30:25 -07:00
sort improve documentation of std.sort.*Context functions (#16145) 2023-06-27 00:51:06 -07:00
target all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
testing all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Thread std: implement detach for WASI-threads 2023-06-26 20:00:58 +02:00
time all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
tz
unicode all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
valgrind all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
array_hash_map.zig Change capacity to take a non-pointer parameter 2023-06-26 02:05:28 -07:00
array_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ascii.zig migration: std.math.{min, min3, max, max3} -> @min & @max 2023-06-16 13:44:09 -07:00
atomic.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
base64.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bit_set.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bounded_array.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
buf_map.zig doc: fix minor grammar issues 2023-04-22 13:09:15 +03:00
buf_set.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
Build.zig Build: make InstallDirStep use a FileSource 2023-06-26 15:59:53 -07:00
builtin.zig spirv: enable simplified default panic handler 2023-07-01 14:27:57 +02:00
c.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
child_process.zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
coff.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
compress.zig
comptime_string_map.zig std.sort.block: add safety check for lessThan return value 2023-06-26 17:50:10 -07:00
crypto.zig std.crypto.ff - Alloc-free, constant-time field arithmetic for crypto (#15795) 2023-05-22 16:11:06 +02:00
cstr.zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
debug.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
dwarf.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
dynamic_library.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
elf.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
enums.zig std.sort.block: add safety check for lessThan return value 2023-06-26 17:50:10 -07:00
event.zig
fifo.zig migration: std.math.{min, min3, max, max3} -> @min & @max 2023-06-16 13:44:09 -07:00
fmt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fs.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash.zig add std.hash.uint32 2023-06-10 20:42:30 -07:00
hash_map.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
heap.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
http.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
Ini.zig
io.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
json.zig std: re-pub new json symbols in json.zig 2023-06-25 04:56:38 -07:00
leb128.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
linked_list.zig std: fix a bunch of typos 2023-04-30 18:16:04 -07:00
log.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
macho.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
math.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
mem.zig x86_64: fix crash emitting a packed undefined u128 2023-06-25 19:14:03 -04:00
meta.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
multi_array_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
net.zig Revert "Sema: preserve extern struct field alignment" 2023-06-29 00:23:19 -04:00
once.zig
os.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
packed_int_array.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
pdb.zig Revert "Merge pull request #15995 from mlugg/fix/union-field-ptr-align" 2023-06-29 00:23:19 -04:00
priority_dequeue.zig [priority_dequeue] Fix out-of-bounds access 2023-06-22 02:03:53 -07:00
priority_queue.zig
process.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Progress.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
rand.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
RingBuffer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
segmented_list.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
SemanticVersion.zig std: replace builtin.Version with SemanticVersion 2023-06-17 13:17:34 -07:00
simd.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sort.zig improve documentation of std.sort.*Context functions (#16145) 2023-06-27 00:51:06 -07:00
start.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
start_windows_tls.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
target.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
testing.zig testing: disable printing for targets that do not support it 2023-07-01 14:29:11 +02:00
Thread.zig default to single-threaded for WebAssembly 2023-06-26 20:00:58 +02:00
time.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
treap.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
tz.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
unicode.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Uri.zig std.Uri: allow getting the mutable result from (un)escape 2023-06-26 15:46:04 +03:00
valgrind.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
wasm.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
zig.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00