https://github.com/superauguste/cache-invalidation-astgen-repro
https://github.com/superauguste/cache-invalidation-astgen-repro
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/superauguste/cache-invalidation-astgen-repro
- Owner: SuperAuguste
- License: mit
- Created: 2024-06-13T19:31:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T20:02:45.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T01:34:21.927Z (over 1 year ago)
- Language: Zig
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cache Failing to Invalidate on AstGen Errors
Thanks `nitanmarcel` on the Zig Discord for finding this bug!
To reproduce this, obtain a copy of a version of Zig from `0.13.0` to `0.14.0-dev.32+4aa15440c`.
Then:
```bash
# Ensure no local .zig-caches are present
zig build
# No error, as expected
# Now, uncomment the @compileError in `imported_file.zig`
zig build
# No error???
```