stage2: add zig_backend to ZIR cache namespace

This commit is contained in:
Andrew Kelley 2023-03-05 12:46:12 -07:00
parent 48e72960a4
commit c839c180ef

View file

@ -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);
}