| ... | @@ -1224,6 +1224,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { | ... | @@ -1224,6 +1224,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { |
| 1224 | | 1224 | |
| 1225 | // This is shared hasher state common to zig source and all C source files. | 1225 | // This is shared hasher state common to zig source and all C source files. |
| 1226 | cache.hash.addBytes(build_options.version); | 1226 | cache.hash.addBytes(build_options.version); |
| | 1227 | cache.hash.add(builtin.zig_backend); |
| 1227 | cache.hash.addBytes(options.zig_lib_directory.path orelse "."); | 1228 | cache.hash.addBytes(options.zig_lib_directory.path orelse "."); |
| 1228 | cache.hash.add(options.optimize_mode); | 1229 | cache.hash.add(options.optimize_mode); |
| 1229 | cache.hash.add(options.target.cpu.arch); | 1230 | cache.hash.add(options.target.cpu.arch); |