aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-01-01 13:30:27 +0000
committermlugg <mlugg@mlugg.co.uk>2025-01-01 15:49:37 +0000
commitf0d5e0df4d95c06287e0fe3fe48b69daf5306c8f (patch)
treeb4f177522ebba9e27ce9745255f321d194de6e82 /src/codegen/spirv
parentba78d79228e6b62a3b5fe9d1fafac18da252e4d6 (diff)
downloadzig-f0d5e0df4d95c06287e0fe3fe48b69daf5306c8f.tar.gz
zig-f0d5e0df4d95c06287e0fe3fe48b69daf5306c8f.zip
incremental: fix errors not being deleted upon re-analysis
Previously, logic in `Compilation.getAllErrorsAlloc` was corrupting the `failed_analysis` hashmap. This meant that on updates after the initial update, attempts to remove entries from this map (because the `AnalUnit` in question is being re-analyzed) silently failed. This resulted in compile errors from earlier updates wrongly getting "stuck", i.e. never being removed. This commit also adds a few log calls which helped me to find this bug.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions