diff --git a/build.zig b/build.zig index 8b7984a..a2b54b1 100644 --- a/build.zig +++ b/build.zig @@ -22,6 +22,10 @@ pub fn build(b: *std.build.Builder) void { // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. const mode = b.standardReleaseOptions(); + // There are some weird problems relating to sentinel values and function pointers + // when using the stage1 compiler. Just disable it entirely for now. + b.use_stage1 = false; + const exe = b.addExecutable("apub", "src/main/main.zig"); exe.setTarget(target); exe.setBuildMode(mode);