| ... | @@ -5,7 +5,8 @@ const deps = @import("./deps.zig"); | ... | @@ -5,7 +5,8 @@ const deps = @import("./deps.zig"); |
| 5 | | 5 | |
| 6 | pub fn build(b: *std.build.Builder) void { | 6 | pub fn build(b: *std.build.Builder) void { |
| 7 | b.prominent_compile_errors = true; | 7 | b.prominent_compile_errors = true; |
| 8 | b.use_stage1 = true; // currently blocked on https://github.com/ziglang/zig/issues/12403 | 8 | // currently blocked on https://github.com/ziglang/zig/issues/12403 |
| | 9 | b.use_stage1 = !(b.option(bool, "stage2", "use the stage2 compiler") orelse false); |
| 9 | const target = b.standardTargetOptions(.{}); | 10 | const target = b.standardTargetOptions(.{}); |
| 10 | | 11 | |
| 11 | b.setPreferredReleaseMode(.ReleaseSafe); | 12 | b.setPreferredReleaseMode(.ReleaseSafe); |