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

Makes adding --debug-rt correctly invalidate the cache for compiler_rt
and libfuzzer.
This commit is contained in:
Andrew Kelley 2024-07-25 19:52:18 -07:00
parent 2a0238e5e3
commit 208baa37ca

View File

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