authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-05 12:46:12-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-05 17:23:09-07:00
logc839c180ef1686794c039fc6d3c20a8716e87357
treee2dcca4b81ef3a732a8471e58716ba464a47350b
parent48e72960a496edc86b231d45bfa39d618b6adfaf

stage2: add zig_backend to ZIR cache namespace


1 files changed, 1 insertions(+), 0 deletions(-)

src/Module.zig+1
......@@ -3528,6 +3528,7 @@ pub fn astGenFile(mod: *Module, file: *File) !void {
35283528 const digest = hash: {
35293529 var path_hash: Cache.HashHelper = .{};
35303530 path_hash.addBytes(build_options.version);
3531 path_hash.add(builtin.zig_backend);
35313532 if (!want_local_cache) {
35323533 path_hash.addOptionalBytes(file.pkg.root_src_directory.path);
35333534 }