| author | |
| committer | |
| log | 6bf19e32e7c51d3c3274151327af7ca3dc231510 |
| tree | 466d834eb4c08d732027d02a24afc2906a83137b |
| parent | c8b8f0ea13ee48db929e1340ee9512974ed986ee |
This fixes a bug where the caching system did not notice when the
--name flag changed.1 files changed, 1 insertions(+), 0 deletions(-)
src/Compilation.zig+1| ... | ... | @@ -647,6 +647,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 647 | 647 | cache.hash.add(options.output_mode); |
| 648 | 648 | cache.hash.add(options.machine_code_model); |
| 649 | 649 | cache.hash.add(options.emit_bin != null); |
| 650 | cache.hash.addBytes(options.root_name); | |
| 650 | 651 | // TODO audit this and make sure everything is in it |
| 651 | 652 | |
| 652 | 653 | const module: ?*Module = if (options.root_pkg) |root_pkg| blk: { |