| ... | @@ -708,7 +708,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -708,7 +708,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 708 | cache.hash.add(options.link_libcpp); | 708 | cache.hash.add(options.link_libcpp); |
| 709 | cache.hash.add(options.output_mode); | 709 | cache.hash.add(options.output_mode); |
| 710 | cache.hash.add(options.machine_code_model); | 710 | cache.hash.add(options.machine_code_model); |
| 711 | cache.hash.add(options.emit_bin != null); | 711 | cache.hash.addOptionalEmitLoc(options.emit_bin); |
| 712 | cache.hash.addBytes(options.root_name); | 712 | cache.hash.addBytes(options.root_name); |
| 713 | // TODO audit this and make sure everything is in it | 713 | // TODO audit this and make sure everything is in it |
| 714 | | 714 | |
| ... | @@ -2786,11 +2786,11 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node | ... | @@ -2786,11 +2786,11 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node |
| 2786 | man.hash.add(comp.bin_file.options.function_sections); | 2786 | man.hash.add(comp.bin_file.options.function_sections); |
| 2787 | man.hash.add(comp.bin_file.options.is_test); | 2787 | man.hash.add(comp.bin_file.options.is_test); |
| 2788 | man.hash.add(comp.bin_file.options.emit != null); | 2788 | man.hash.add(comp.bin_file.options.emit != null); |
| 2789 | man.hash.add(comp.emit_h != null); | 2789 | man.hash.addOptionalEmitLoc(comp.emit_h); |
| 2790 | man.hash.add(comp.emit_asm != null); | 2790 | man.hash.addOptionalEmitLoc(comp.emit_asm); |
| 2791 | man.hash.add(comp.emit_llvm_ir != null); | 2791 | man.hash.addOptionalEmitLoc(comp.emit_llvm_ir); |
| 2792 | man.hash.add(comp.emit_analysis != null); | 2792 | man.hash.addOptionalEmitLoc(comp.emit_analysis); |
| 2793 | man.hash.add(comp.emit_docs != null); | 2793 | man.hash.addOptionalEmitLoc(comp.emit_docs); |
| 2794 | man.hash.addOptionalBytes(comp.test_filter); | 2794 | man.hash.addOptionalBytes(comp.test_filter); |
| 2795 | man.hash.addOptionalBytes(comp.test_name_prefix); | 2795 | man.hash.addOptionalBytes(comp.test_name_prefix); |
| 2796 | | 2796 | |