diff --git a/src/Compilation.zig b/src/Compilation.zig index f33ada9362..3e74df35af 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -2590,6 +2590,8 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node man.hash.add(comp.emit_llvm_ir != null); man.hash.add(comp.emit_analysis != null); man.hash.add(comp.emit_docs != null); + man.hash.addOptionalBytes(comp.test_filter); + man.hash.addOptionalBytes(comp.test_name_prefix); // Capture the state in case we come back from this branch where the hash doesn't match. const prev_hash_state = man.hash.peekBin();