commit 208baa37caa3830fbdf2b809ed663cec2c5585cc (tree)
parent 2a0238e5e3095a9e5a99c3ead64ffd7f98773c64
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 25 Jul 2024 19:52:18 -0700
frontend: add missed cache hash on --debug-rt
Makes adding --debug-rt correctly invalidate the cache for compiler_rt
and libfuzzer.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/Compilation.zig b/src/Compilation.zig
@@ -1421,6 +1421,7 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil
cache.hash.addBytes(options.root_name);
cache.hash.add(options.config.wasi_exec_model);
cache.hash.add(options.config.san_cov_trace_pc_guard);
+ cache.hash.add(options.debug_compiler_runtime_libs);
// TODO audit this and make sure everything is in it
const main_mod = options.main_mod orelse options.root_mod;