authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-11-29 20:57:50-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-11-29 20:57:50-07:00
log20e19e75fd3030e1b567044ef02cc3958ed9f73a
treef044f7076c710108e35dbba5a07a6799f5730403
parent19eaf54bc9ea8229dd0ae9e8e99865aba6fe4398

add clang_argv to stage1 cache hash

closes #9304

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

src/Compilation.zig+1
...@@ -4477,6 +4477,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node...@@ -4477,6 +4477,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node
4477 man.hash.add(comp.test_evented_io);4477 man.hash.add(comp.test_evented_io);
4478 man.hash.addOptionalBytes(comp.test_filter);4478 man.hash.addOptionalBytes(comp.test_filter);
4479 man.hash.addOptionalBytes(comp.test_name_prefix);4479 man.hash.addOptionalBytes(comp.test_name_prefix);
4480 man.hash.addListOfBytes(comp.clang_argv);
44804481
4481 // Capture the state in case we come back from this branch where the hash doesn't match.4482 // Capture the state in case we come back from this branch where the hash doesn't match.
4482 const prev_hash_state = man.hash.peekBin();4483 const prev_hash_state = man.hash.peekBin();