diff options
| author | travisstaloch <twostepted@gmail.com> | 2020-10-06 16:36:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-06 19:36:14 -0400 |
| commit | dd4771a5d2815004a75a90895fe45addb3a015d1 (patch) | |
| tree | 4b90482d14561d2b37652004d807c324269c9b5d /src/Compilation.zig | |
| parent | 87807d53dd711d0452e6e963243986c7d885e987 (diff) | |
| download | zig-dd4771a5d2815004a75a90895fe45addb3a015d1.tar.gz zig-dd4771a5d2815004a75a90895fe45addb3a015d1.zip | |
cache-hash: add test_filter and test_name_prefix (#6583)
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
