cache-hash: add test_filter and test_name_prefix (#6583)

This commit is contained in:
travisstaloch 2020-10-06 16:36:14 -07:00 committed by GitHub
parent 87807d53dd
commit dd4771a5d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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