aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-25 19:52:18 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-26 08:42:40 -0700
commit208baa37caa3830fbdf2b809ed663cec2c5585cc (patch)
tree1c71adc114d1bc6cf32beff7d986303d3877bb0c /src/Compilation.zig
parent2a0238e5e3095a9e5a99c3ead64ffd7f98773c64 (diff)
downloadzig-208baa37caa3830fbdf2b809ed663cec2c5585cc.tar.gz
zig-208baa37caa3830fbdf2b809ed663cec2c5585cc.zip
frontend: add missed cache hash on --debug-rt
Makes adding --debug-rt correctly invalidate the cache for compiler_rt and libfuzzer.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 8808e72e04..e9a8aa7774 100644
--- 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;