mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
stage2: add zig_backend to ZIR cache namespace
This commit is contained in:
parent
48e72960a4
commit
c839c180ef
1 changed files with 1 additions and 0 deletions
|
|
@ -3528,6 +3528,7 @@ pub fn astGenFile(mod: *Module, file: *File) !void {
|
||||||
const digest = hash: {
|
const digest = hash: {
|
||||||
var path_hash: Cache.HashHelper = .{};
|
var path_hash: Cache.HashHelper = .{};
|
||||||
path_hash.addBytes(build_options.version);
|
path_hash.addBytes(build_options.version);
|
||||||
|
path_hash.add(builtin.zig_backend);
|
||||||
if (!want_local_cache) {
|
if (!want_local_cache) {
|
||||||
path_hash.addOptionalBytes(file.pkg.root_src_directory.path);
|
path_hash.addOptionalBytes(file.pkg.root_src_directory.path);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue