diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-03-05 12:46:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-05 17:23:09 -0700 |
| commit | c839c180ef1686794c039fc6d3c20a8716e87357 (patch) | |
| tree | e2dcca4b81ef3a732a8471e58716ba464a47350b /src/Module.zig | |
| parent | 48e72960a496edc86b231d45bfa39d618b6adfaf (diff) | |
| download | zig-c839c180ef1686794c039fc6d3c20a8716e87357.tar.gz zig-c839c180ef1686794c039fc6d3c20a8716e87357.zip | |
stage2: add zig_backend to ZIR cache namespace
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig index a2502d36d3..7ea69a0a2e 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -3528,6 +3528,7 @@ pub fn astGenFile(mod: *Module, file: *File) !void { const digest = hash: { var path_hash: Cache.HashHelper = .{}; path_hash.addBytes(build_options.version); + path_hash.add(builtin.zig_backend); if (!want_local_cache) { path_hash.addOptionalBytes(file.pkg.root_src_directory.path); } |
