aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-05 12:46:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-05 17:23:09 -0700
commitc839c180ef1686794c039fc6d3c20a8716e87357 (patch)
treee2dcca4b81ef3a732a8471e58716ba464a47350b /src/Module.zig
parent48e72960a496edc86b231d45bfa39d618b6adfaf (diff)
downloadzig-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.zig1
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);
}