mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
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. |
||
|---|---|---|
| .. | ||
| Cache | ||
| Step | ||
| Watch | ||
| abi.zig | ||
| Cache.zig | ||
| Fuzz.zig | ||
| Module.zig | ||
| Step.zig | ||
| Watch.zig | ||
| WebServer.zig | ||