| ... | @@ -665,6 +665,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -665,6 +665,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 665 | cache.hash.add(options.output_mode); | 665 | cache.hash.add(options.output_mode); |
| 666 | cache.hash.add(options.machine_code_model); | 666 | cache.hash.add(options.machine_code_model); |
| 667 | cache.hash.add(options.emit_bin != null); | 667 | cache.hash.add(options.emit_bin != null); |
| | 668 | cache.hash.addBytes(options.root_name); |
| 668 | // TODO audit this and make sure everything is in it | 669 | // TODO audit this and make sure everything is in it |
| 669 | | 670 | |
| 670 | const module: ?*Module = if (options.root_pkg) |root_pkg| blk: { | 671 | const module: ?*Module = if (options.root_pkg) |root_pkg| blk: { |