zig/lib/std
Matthew Lugg 88146ea704 std.process.Child: prevent racing children from inheriting one another's pipes
The added comment explains the issue here relatively well. The new
progress API made this bug obvious because it became visibly clear that
certain Compile steps were seemingly "hanging" until other steps
completed. As it turned out, these child processes had raced to spawn,
and hence one had inherited the other's stdio pipes, meaning the `poll`
call in `std.Build.Step.evalZigProcess` was not identifying the child
stdout as closed until an unrelated process terminated.
2024-06-06 10:43:14 -07:00
..
Build Build system: Allow specifying Win32 resource include paths using LazyPath 2024-05-22 06:58:09 -07:00
c std.fs.Dir.openFile: use wasi libc API when -lc 2024-04-18 17:49:05 -07:00
compress std.compress.flate: fix panic when reading into empty buffer 2024-05-22 07:02:16 -07:00
crypto std.crypto: make ff.ct_unprotected.limbsCmpLt compile (#19741) 2024-04-23 17:17:02 -07:00
dwarf extract std.posix from std.os 2024-03-19 11:45:09 -07:00
fmt implement ryu 64-bit backend 2024-03-29 22:15:17 -07:00
fs fs: handle OBJECT_NAME_COLLISION in makeOpenPath 2024-05-22 07:01:14 -07:00
hash std.hash.crc: get rid of usingnamespace 2024-04-11 14:42:04 -07:00
heap Merge pull request #19987 from Frojdholm/fix-gpa-double-free-stack-traces 2024-05-22 07:05:17 -07:00
http Revert "std.http.Client: always omit port when it matches default" 2024-04-12 22:37:07 -07:00
io define an error set for std.io.tty.Config.setColor 2024-05-22 07:02:54 -07:00
json json.WriteStream.objectFieldRaw() (#19553) 2024-04-06 03:52:20 -04:00
math std: fix big int llshr to respect aliasing (#19612) 2024-04-13 03:06:23 -07:00
mem mem: explicit dupe and dupeZ error on Allocator 2023-09-07 21:56:57 +03:00
meta std: promote tests to doctests 2024-03-21 14:11:46 -07:00
net std.net, std.http: simplify 2024-02-23 02:37:11 -07:00
os fix: incorrect field sizes in std.os.linux.ifmap 2024-05-22 07:04:56 -07:00
posix cbe: fix optional codegen 2024-04-13 01:35:20 -04:00
Random extract std.posix from std.os 2024-03-19 11:45:09 -07:00
sort lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
tar std.tar: fix finding tar root_dir (#19829) 2024-05-01 12:05:29 -07:00
Target std.Build: revert --host-target, --host-cpu, --host-dynamic-linker 2024-04-18 03:02:13 -07:00
testing std: enable FailingAllocator to fail on resize 2023-09-06 19:06:32 +03:00
Thread Clarify the blocking behavior of RwLock.lockShared(). (#19752) 2024-04-24 13:45:29 -07:00
time std: promote tests to doctests 2024-03-21 14:11:46 -07:00
tz
unicode
valgrind valgrind client request wrappers take const pointers (#19237) 2024-03-26 14:00:13 +02:00
zig llvm: fix @wasmMemory{Size,Grow} for wasm64 2024-05-22 07:17:50 -07:00
array_hash_map.zig std.array_hash_map: remove meta context verification 2024-03-21 19:40:56 -07:00
array_list.zig Refactor ArrayList replaceRange tests 2024-04-02 13:46:51 -07:00
ascii.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
atomic.zig bsd: debitrot AtomicOrder renames 2024-03-15 02:28:50 -04:00
base64.zig improve documentation in std 2024-03-10 18:13:30 -07:00
bit_set.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
BitStack.zig
bounded_array.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
buf_map.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
buf_set.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
Build.zig Merge pull request #19689 from nektro/nektro-patch-29794 2024-04-18 16:38:11 -07:00
builtin.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
c.zig haiku: debitrot 2024-03-23 18:11:32 +01:00
child_process.zig std.process.Child: prevent racing children from inheriting one another's pipes 2024-06-06 10:43:14 -07:00
coff.zig lib/std/coff: add ImportNameType.NAME_EXPORTAS variant 2024-03-29 20:34:28 +01:00
compress.zig improve documentation in std 2024-03-10 18:13:30 -07:00
comptime_string_map.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
crypto.zig Merge pull request #19239 from jedisct1/ml-kem 2024-03-11 18:48:08 -07:00
debug.zig std.debug.panic: pass the args 2024-04-11 23:33:38 -07:00
dwarf.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
dynamic_library.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
elf.zig improve documentation in std 2024-03-10 18:13:30 -07:00
enums.zig EnumMap: fix init 2024-06-06 10:41:03 -07:00
fifo.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
fmt.zig Update fmt.zig tests 2024-04-24 13:45:18 -07:00
fs.zig fix compilation failures found by CI 2024-03-19 16:18:18 -07:00
gpu.zig std: add gpu namespace 2024-02-05 11:55:14 +03:30
hash.zig XXH3 Implementation for Zig STD (#17530) 2023-10-17 13:55:01 -05:00
hash_map.zig std.hash_map: fix pointer lock safety false positive 2024-03-20 17:14:52 -07:00
heap.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
http.zig std.http.Server: expose arbitrary HTTP headers 2024-02-23 02:58:02 -07:00
Ini.zig
io.zig Uri: propagate per-component encoding 2024-04-10 02:11:54 -07:00
json.zig x86_64: pass more tests 2023-10-25 04:28:30 -04:00
leb128.zig Dwarf: improve x86_64 backend debug info 2023-11-12 03:21:52 -05:00
linked_list.zig Revert "std.SinglyLinkedList: add sort function" 2023-11-24 22:33:50 -07:00
log.zig Buffer the logging function 2024-02-09 14:02:57 -08:00
macho.zig The Mach-O header flags gained two new members at some point, and these are missing in the Zig std library. This PR adds these. 2024-04-18 20:08:03 -07:00
math.zig WindowsSdk: fix for new x86_64-windows CI 2024-04-14 21:26:08 -04:00
mem.zig std.mem.indexOfSentinel: valgrind integration 2024-03-21 15:01:57 -07:00
meta.zig compiler: implement analysis-local comptime-mutable memory 2024-03-25 14:49:41 +00:00
multi_array_list.zig std.builtin: make container layout fields lowercase 2024-03-11 07:09:07 -07:00
net.zig compiler: un-implement #19634 2024-04-17 13:41:25 +01:00
once.zig std: improve std.once tests 2024-04-15 15:24:30 -07:00
os.zig fix compilation failures found by CI 2024-03-19 16:18:18 -07:00
packed_int_array.zig compiler: un-implement #19634 2024-04-17 13:41:25 +01:00
pdb.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
posix.zig Change std.os to std.posix in error messages 2024-05-22 06:57:16 -07:00
priority_dequeue.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
priority_queue.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
process.zig ArgIteratorWindows: Match post-2008 C runtime rather than CommandLineToArgvW 2024-04-15 02:09:48 -07:00
Progress.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
Random.zig Fixup filename casing 2024-02-08 15:39:28 +01:00
RingBuffer.zig std.RingBuffer: use sliceAt/sliceFirst in read*AssumeLength 2024-03-10 18:17:23 +11:00
segmented_list.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
SemanticVersion.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
simd.zig improve documentation in std 2024-03-10 18:13:30 -07:00
sort.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
start.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
start_windows_tls.zig
std.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
tar.zig std.tar: fix finding tar root_dir (#19829) 2024-05-01 12:05:29 -07:00
Target.zig wasi: change default os version to 0.1.0 2024-04-14 18:43:52 -04:00
testing.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
Thread.zig Fix WASI threads, again 2024-04-23 17:16:08 -07:00
time.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
treap.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
tz.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
unicode.zig Merge pull request #19698 from squeek502/windows-batbadbut 2024-04-24 13:50:29 -07:00
Uri.zig std.http.Client: always omit port when it matches default 2024-04-12 22:37:07 -07:00
valgrind.zig Fix simple doc mistakes. (#17624) 2023-10-21 21:24:55 +00:00
wasm.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
zig.zig std.zig.fmtId: conditionally escape primitives/_ 2024-04-07 14:47:10 +02:00