build: probabilistic inconsistent cache state on Windows (repeatedly AccessDenied) from modifying build.zig during running zig build runcmiti
#18459
Labels
bug
Observed behavior contradicts documented or intended behavior
Zig Version
0.12.0-dev.2046+d3a163f86
Windows 10.0.19045 (has POSIX file operations support) [latest Windows 10]
Steps to Reproduce and Observed Behavior
Ca. 20-30% trigger chance to get into state, where "zig build runcmiti" fails deterministically and every time. I have edited the file usually after 0.75s and saving takes ~1s due to ?zig.vim on windows shennanigans? (where it asks for key to press).
Result in 20-30% of cases repeatedly infinitely (sometimes it did recover):
Expected Behavior
No repeatedly AccessDenied from
zig build runcmiti
.The text was updated successfully, but these errors were encountered: