enable the LLVM backend in stage2

This takes a bit longer since the interpreted part has to do more work
but it saves a round trip through the compiler by allowing `zig2 build`
to be the final step. 1-2-3, done.

For me this is currently failing due to compilation errors generated by
GCC when compiling zig2.c but in theory if those are fixed, it should
work!
This commit is contained in:
Andrew Kelley
2022-11-15 23:04:18 -07:00
parent fb9a6084e2
commit 34e9bbb9d4
2 changed files with 77 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
pub const have_llvm = false;
pub const have_llvm = true;
pub const llvm_has_m68k = false;
pub const llvm_has_csky = false;
pub const llvm_has_arc = false;
@@ -10,5 +10,5 @@ pub const enable_tracy = false;
pub const value_tracing = false;
pub const have_stage1 = false;
pub const skip_non_native = false;
pub const only_c = true;
pub const only_c = false;
pub const force_gpa = false;