File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1260,15 +1260,17 @@ fn resolveConfiguration(
12601260 cache_dir .writeFile (.{
12611261 .sub_path = "BuildConfig.zig" ,
12621262 .data = build_runner_config_source ,
1263- }) catch | err | {
1263+ .flags = .{ .exclusive = true },
1264+ }) catch | err | if (err != error .PathAlreadyExists ) {
12641265 log .err ("failed to write file '{s}/BuildConfig.zig': {}" , .{ cache_path , err });
12651266 break :blk ;
12661267 };
12671268
12681269 cache_dir .writeFile (.{
12691270 .sub_path = "build_runner.zig" ,
12701271 .data = build_runner_source ,
1271- }) catch | err | {
1272+ .flags = .{ .exclusive = true },
1273+ }) catch | err | if (err != error .PathAlreadyExists ) {
12721274 log .err ("failed to write file '{s}/build_runner.zig': {}" , .{ cache_path , err });
12731275 break :blk ;
12741276 };
You can’t perform that action at this time.
0 commit comments