| ... | @@ -647,6 +647,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -647,6 +647,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 647 | cache.hash.add(options.output_mode); | 647 | cache.hash.add(options.output_mode); |
| 648 | cache.hash.add(options.machine_code_model); | 648 | cache.hash.add(options.machine_code_model); |
| 649 | cache.hash.add(options.emit_bin != null); | 649 | cache.hash.add(options.emit_bin != null); |
| | 650 | cache.hash.addBytes(options.root_name); |
| 650 | // TODO audit this and make sure everything is in it | 651 | // TODO audit this and make sure everything is in it |
| 651 | | 652 | |
| 652 | const module: ?*Module = if (options.root_pkg) |root_pkg| blk: { | 653 | const module: ?*Module = if (options.root_pkg) |root_pkg| blk: { |