diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-09-29 10:46:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-29 10:46:32 -0700 |
| commit | 4e85bf11856a7fbf6072857f21a326854073b534 (patch) | |
| tree | 8327ec7e8e8937a6ec0137f63cba2a2295e8fcbf /src/Compilation.zig | |
| parent | 99961f22dca7e01b85b7819dcea814ad01b65af5 (diff) | |
| download | zig-4e85bf11856a7fbf6072857f21a326854073b534.tar.gz zig-4e85bf11856a7fbf6072857f21a326854073b534.zip | |
stage2: put use_llvm and use_stage1 into the Module cache hash
This prevents a compiler_rt built with stage2 (which is intentionally
different than when built with stage1) from being used for stage1 and
vice versa.
Fixes the regression from the previous commit.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index cb19a21c15..76a84701ce 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1177,6 +1177,8 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { } hash.add(valgrind); hash.add(single_threaded); + hash.add(use_stage1); + hash.add(use_llvm); hash.add(dll_export_fns); hash.add(options.is_test); hash.add(options.skip_linker_dependencies); |
