authorgravatar for twostepted@gmail.comTravis Staloch <twostepted@gmail.com> 2020-10-06 16:36:14-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-10-06 19:36:14-04:00
logdd4771a5d2815004a75a90895fe45addb3a015d1
tree4b90482d14561d2b37652004d807c324269c9b5d
parent87807d53dd711d0452e6e963243986c7d885e987
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

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


1 files changed, 2 insertions(+), 0 deletions(-)

src/Compilation.zig+2
......@@ -2590,6 +2590,8 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node
25902590 man.hash.add(comp.emit_llvm_ir != null);
25912591 man.hash.add(comp.emit_analysis != null);
25922592 man.hash.add(comp.emit_docs != null);
2593 man.hash.addOptionalBytes(comp.test_filter);
2594 man.hash.addOptionalBytes(comp.test_name_prefix);
25932595
25942596 // Capture the state in case we come back from this branch where the hash doesn't match.
25952597 const prev_hash_state = man.hash.peekBin();