aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-11-29 20:57:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-11-29 20:57:50 -0700
commit20e19e75fd3030e1b567044ef02cc3958ed9f73a (patch)
treef044f7076c710108e35dbba5a07a6799f5730403 /src/Compilation.zig
parent19eaf54bc9ea8229dd0ae9e8e99865aba6fe4398 (diff)
downloadzig-20e19e75fd3030e1b567044ef02cc3958ed9f73a.tar.gz
zig-20e19e75fd3030e1b567044ef02cc3958ed9f73a.zip
add clang_argv to stage1 cache hash
closes #9304
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 2d33fe83b6..29d101e61e 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -4477,6 +4477,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node
man.hash.add(comp.test_evented_io);
man.hash.addOptionalBytes(comp.test_filter);
man.hash.addOptionalBytes(comp.test_name_prefix);
+ man.hash.addListOfBytes(comp.clang_argv);
// Capture the state in case we come back from this branch where the hash doesn't match.
const prev_hash_state = man.hash.peekBin();