mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
stage2: CacheMode.whole: trigger loading zig source files
Previously the code asserted source files were already loaded, but this is not the case when cached ZIR is loaded. Now it will trigger .zig source code to be loaded for the purposes of hashing the source for `CacheMode.whole`. This additionally refactors stat_size, stat_inode, and stat_mtime fields into using the `Cache.File.Stat` struct.
This commit is contained in:
parent
dbd0a2c35d
commit
0ad2a99675
3 changed files with 121 additions and 73 deletions
156
src/Module.zig
156
src/Module.zig
Loading…
Add table
Add a link
Reference in a new issue