| ... | @@ -690,7 +690,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -690,7 +690,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 690 | cache.hash.add(options.link_libcpp); | 690 | cache.hash.add(options.link_libcpp); |
| 691 | cache.hash.add(options.output_mode); | 691 | cache.hash.add(options.output_mode); |
| 692 | cache.hash.add(options.machine_code_model); | 692 | cache.hash.add(options.machine_code_model); |
| 693 | cache.hash.add(options.emit_bin != null); | 693 | cache.hash.addOptionalEmitLoc(options.emit_bin); |
| 694 | cache.hash.addBytes(options.root_name); | 694 | cache.hash.addBytes(options.root_name); |
| 695 | // TODO audit this and make sure everything is in it | 695 | // TODO audit this and make sure everything is in it |
| 696 | | 696 | |
| ... | @@ -2765,11 +2765,11 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node | ... | @@ -2765,11 +2765,11 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node |
| 2765 | man.hash.add(comp.bin_file.options.function_sections); | 2765 | man.hash.add(comp.bin_file.options.function_sections); |
| 2766 | man.hash.add(comp.bin_file.options.is_test); | 2766 | man.hash.add(comp.bin_file.options.is_test); |
| 2767 | man.hash.add(comp.bin_file.options.emit != null); | 2767 | man.hash.add(comp.bin_file.options.emit != null); |
| 2768 | man.hash.add(comp.emit_h != null); | 2768 | man.hash.addOptionalEmitLoc(comp.emit_h); |
| 2769 | man.hash.add(comp.emit_asm != null); | 2769 | man.hash.addOptionalEmitLoc(comp.emit_asm); |
| 2770 | man.hash.add(comp.emit_llvm_ir != null); | 2770 | man.hash.addOptionalEmitLoc(comp.emit_llvm_ir); |
| 2771 | man.hash.add(comp.emit_analysis != null); | 2771 | man.hash.addOptionalEmitLoc(comp.emit_analysis); |
| 2772 | man.hash.add(comp.emit_docs != null); | 2772 | man.hash.addOptionalEmitLoc(comp.emit_docs); |
| 2773 | man.hash.addOptionalBytes(comp.test_filter); | 2773 | man.hash.addOptionalBytes(comp.test_filter); |
| 2774 | man.hash.addOptionalBytes(comp.test_name_prefix); | 2774 | man.hash.addOptionalBytes(comp.test_name_prefix); |
| 2775 | | 2775 | |