zig/lib/std/Build
Ian Johnson d4df65e355 std.Build.Step.Compile: fix race condition in args file creation
Fixes #23993

Previously, if multiple build processes tried to create the same args file, there was a race condition with the use of the non-atomic `writeFile` function which could cause a spawned compiler to read an empty or incomplete args file. This commit avoids the race condition by first writing to a temporary file with a random path and renaming it to the desired path.
2025-08-26 12:02:50 +01:00
..
Cache std.zon: update to new I/O API 2025-07-19 18:27:09 -07:00
Step std.Build.Step.Compile: fix race condition in args file creation 2025-08-26 12:02:50 +01:00
Watch std.Build.Watch: add macOS implementation based on FSEventStream 2025-08-02 05:13:13 +01:00
abi.zig net: Always set WSA_FLAG_OVERLAPPED when creating Windows sockets. Rework send and receive logic to use overlapped I/O. 2025-08-09 18:48:15 -04:00
Cache.zig fix memory leak 2025-07-16 18:34:34 +02:00
Fuzz.zig update build system to new http.Server API 2025-08-07 10:04:29 -07:00
Module.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
Step.zig std.Build: improve error for peak RSS exceeding declared value 2025-08-15 23:03:16 +01:00
Watch.zig Merge pull request #24661 from alichraghi/spv4 2025-08-07 20:55:50 -07:00
WebServer.zig build runner: fix single-threaded build 2025-08-13 23:50:57 +01:00