aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Cache
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-29 16:51:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 19:49:08 -0700
commit6b2709616e22e7651f16293034cc0d25f0e9be0a (patch)
treed3dc659be126b3e6212197c955c52fbe277894a9 /lib/std/Build/Cache
parenta89d6878d2780f966b7327f8d366e6ac5f5cd8fc (diff)
downloadzig-6b2709616e22e7651f16293034cc0d25f0e9be0a.tar.gz
zig-6b2709616e22e7651f16293034cc0d25f0e9be0a.zip
frontend: ignore AccessDenied when writing builtin.zig
This issue already existed in master branch, however, the more aggressive caching of builtin.zig in this branch made it happen more often. I added doc comments to AtomicFile to explain when this problem can occur. For the compiler's use case, error.AccessDenied can be simply swallowed because it means the destination file already exists and there is nothing else to do besides proceed with the AtomicFile cleanup. I never solved the mystery of why the log statements weren't printing but those are temporary debugging instruments anyway, and I am already too many yaks deep to whip out another razor. closes #14978
Diffstat (limited to 'lib/std/Build/Cache')
0 files changed, 0 insertions, 0 deletions