authorgravatar for ascottcameron@gmail.comAlex Cameron <ascottcameron@gmail.com> 2020-12-19 05:31:00+00:00
committergravatar for ascottcameron@gmail.comAlex Cameron <ascottcameron@gmail.com> 2020-12-23 01:14:35+11:00
log9849e894d52dd7b9aedc149011cb19d2bccaab70
treea31e66ef2a59265f847a33e046801f478c6e725d
parent0771aac48b2e9acde348db9985c270abad329e39

Add emit_h path to compilation hash.


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

src/Compilation.zig+3
......@@ -2956,6 +2956,9 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node
29562956 man.hash.add(comp.bin_file.options.is_test);
29572957 man.hash.add(comp.bin_file.options.emit != null);
29582958 man.hash.add(comp.c_header != null);
2959 if (comp.c_header) |header| {
2960 man.hash.addEmitLoc(header.emit_loc.?);
2961 }
29592962 man.hash.addOptionalEmitLoc(comp.emit_asm);
29602963 man.hash.addOptionalEmitLoc(comp.emit_llvm_ir);
29612964 man.hash.addOptionalEmitLoc(comp.emit_analysis);