authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-25 19:52:18-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-26 08:42:40-07:00
log208baa37caa3830fbdf2b809ed663cec2c5585cc
tree1c71adc114d1bc6cf32beff7d986303d3877bb0c
parent2a0238e5e3095a9e5a99c3ead64ffd7f98773c64

frontend: add missed cache hash on --debug-rt

Makes adding --debug-rt correctly invalidate the cache for compiler_rt and libfuzzer.

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

src/Compilation.zig+1
......@@ -1421,6 +1421,7 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil
14211421 cache.hash.addBytes(options.root_name);
14221422 cache.hash.add(options.config.wasi_exec_model);
14231423 cache.hash.add(options.config.san_cov_trace_pc_guard);
1424 cache.hash.add(options.debug_compiler_runtime_libs);
14241425 // TODO audit this and make sure everything is in it
14251426
14261427 const main_mod = options.main_mod orelse options.root_mod;