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-08-26 12:02:50 +01:00
2025-08-25 16:15:17 +02:00
2025-08-21 11:33:34 +02:00
2025-08-15 22:11:51 -07:00
2025-08-25 15:59:42 +00:00
2025-08-25 16:15:17 +02:00
2025-08-23 12:32:14 -07:00
2025-07-31 22:10:11 -07:00
2025-08-11 15:52:49 -07:00
2025-08-22 12:35:18 -07:00
2025-08-19 11:20:30 -07:00
2025-08-22 02:50:26 +02:00
2025-08-24 22:59:08 +02:00
2025-08-24 23:39:17 +02:00
2025-08-25 11:27:59 -07:00
2025-08-06 22:12:42 -07:00
2025-08-16 14:46:20 -07:00
2025-08-13 01:43:52 -07:00
2025-08-11 15:52:49 -07:00
2025-07-07 22:43:51 -07:00
2025-08-25 06:20:41 +02:00
2025-08-25 18:03:08 +02:00
2025-08-11 13:32:12 -07:00
2025-08-26 00:25:25 -07:00
2025-08-25 16:15:17 +02:00
2025-08-05 09:56:02 -07:00
2025-08-11 15:52:49 -07:00
2025-08-11 15:52:49 -07:00
2025-08-25 16:15:17 +02:00
2025-08-21 11:52:22 -07:00
2025-07-31 22:10:11 -07:00
2025-08-25 04:05:37 -07:00
2025-08-08 12:47:00 -07:00
2025-07-31 22:10:22 +01:00
2025-08-08 17:17:53 -07:00
2025-08-11 15:52:49 -07:00
2025-07-31 22:10:11 -07:00
2025-08-20 18:21:32 +02:00
2025-08-17 14:42:57 +02:00
2025-08-16 00:16:15 -07:00
2025-08-13 01:43:52 -07:00
2025-08-15 23:45:33 +02:00
2025-08-11 15:47:51 -07:00
2025-08-01 14:57:16 -07:00
2025-08-11 13:32:12 -07:00
2025-08-19 16:18:02 -07:00
2025-08-25 16:15:17 +02:00
2025-08-21 12:36:57 +02:00
2025-08-11 15:52:49 -07:00
2025-08-25 19:25:53 +00:00
2025-08-05 09:56:02 -07:00
2025-08-25 16:15:17 +02:00
2025-08-11 15:52:49 -07:00
2025-08-26 07:50:06 +02:00
2025-08-21 12:36:57 +02:00
2025-08-11 15:52:49 -07: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
2025-08-10 17:51:22 -07:00
2025-08-15 23:35:16 +02:00