| author | |
| committer | |
| log | 84e0c148b1d276d0dd60488c095dfb395372a216 |
| tree | f8ee603644b56f75d386120a25d5f277941a3281 |
| parent | c616141241047d6d6c811d43f644eb1b7d2b26ce |
1 files changed, 1 insertions(+), 0 deletions(-)
src/Compilation.zig+1| ... | ... | @@ -1109,6 +1109,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { |
| 1109 | 1109 | const root_name = try arena.dupeZ(u8, options.root_name); |
| 1110 | 1110 | |
| 1111 | 1111 | const use_stage1 = options.use_stage1 orelse false; |
| 1112 | if (use_stage1 and !build_options.have_stage1) return error.ZigCompilerBuiltWithoutStage1; | |
| 1112 | 1113 | |
| 1113 | 1114 | // Make a decision on whether to use LLVM or our own backend. |
| 1114 | 1115 | const use_llvm = build_options.have_llvm and blk: { |