mirror of
https://github.com/ziglang/zig.git
synced 2026-02-18 07:18:38 +00:00
stage2: add zig_backend to ZIR cache namespace
This commit is contained in:
parent
48e72960a4
commit
c839c180ef
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user