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
..
2025-07-31 22:10:11 -07:00
2025-07-07 22:43:51 -07:00
2025-08-25 04:05:37 -07:00
2025-08-08 12:47:00 -07:00
2025-08-08 17:17:53 -07:00
2025-07-31 22:10:11 -07:00
2025-08-01 14:57:16 -07:00
2025-08-25 16:15:17 +02:00
2025-08-26 07:50:06 +02:00
2025-08-15 10:44:35 -07:00
2025-08-07 10:04:52 -07:00
2025-08-15 10:44:35 -07:00