authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-17 22:35:34 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-17 22:35:34 -07:00
log7cd61e4cc5676da20b74302e9b39276f15cdc9d0
tree93607d95b27074c5337670bfd6337e03723d2712
parent40917b18ef78a59ea78d90c4c82e7c1266c1c73d

build.zig: add -Dstage2 option to test


1 files changed, 2 insertions(+), 1 deletions(-)

build.zig+2-1
......@@ -5,7 +5,8 @@ const deps = @import("./deps.zig");
55
66pub fn build(b: *std.build.Builder) void {
77 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);
910 const target = b.standardTargetOptions(.{});
1011
1112 b.setPreferredReleaseMode(.ReleaseSafe);