aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/WaitGroup.zig
diff options
context:
space:
mode:
authorMatthew Lugg <mlugg@mlugg.co.uk>2025-11-18 12:03:06 +0000
committerMatthew Lugg <mlugg@mlugg.co.uk>2025-11-19 09:44:22 +0000
commit806470b492f15c4e3350ce4a48e607f2c8e94ff8 (patch)
tree3bbc7184dc62cc4f1e583c9e907620517f44e4c7 /lib/std/Thread/WaitGroup.zig
parent4ea472808437c932f6240c0df5e4d5912d282052 (diff)
downloadzig-806470b492f15c4e3350ce4a48e607f2c8e94ff8.tar.gz
zig-806470b492f15c4e3350ce4a48e607f2c8e94ff8.zip
compiler: fix crash if file contents change during update
When reporting a compile error, we would load the new file, but assume we could apply old AST/token indices (etc) to it, potentially causing crashes. Instead, if the file stat has changed since it was loaded, just emit an error that the file was modified mid-update.
Diffstat (limited to 'lib/std/Thread/WaitGroup.zig')
0 files changed, 0 insertions, 0 deletions