Commit dd4771a5d2

travisstaloch <twostepted@gmail.com>
2020-10-07 01:36:14
cache-hash: add test_filter and test_name_prefix (#6583)
1 parent 87807d5
Changed files (1)
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();