Disable stage1
This commit is contained in:
parent
84e62ffe38
commit
cfebc3b0cc
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall.
|
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall.
|
||||||
const mode = b.standardReleaseOptions();
|
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");
|
const exe = b.addExecutable("apub", "src/main/main.zig");
|
||||||
exe.setTarget(target);
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue