add clang_argv to stage1 cache hash

closes #9304
This commit is contained in:
Andrew Kelley 2021-11-29 20:57:50 -07:00
parent 19eaf54bc9
commit 20e19e75fd

View File

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