We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47cc1c5 commit 51a7ffeCopy full SHA for 51a7ffe
lib/std/Build/Cache.zig
@@ -422,7 +422,11 @@ pub const Manifest = struct {
422
self.have_exclusive_lock = true;
423
return false; // cache miss; exclusive lock already held
424
} else |err| switch (err) {
425
- error.WouldBlock => continue,
+ // There are no dir components, so you would think
426
+ // that this was unreachable, however we have
427
+ // observed on macOS two processes racing to do
428
+ // openat() with O_CREAT manifest in ENOENT.
429
+ error.WouldBlock, error.FileNotFound => continue,
430
else => |e| return e,
431
}
432
},
0 commit comments