fix old build

This commit is contained in:
zongor 2023-05-15 19:03:52 -04:00
parent 08d9e7680a
commit 2c18b98e97
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ 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();
const exe = b.addExecutable("minecraft_server_zig", "src/main.zig"); const exe = b.addExecutable("mczig-server", "src/main.zig");
exe.use_stage1 = true; // needed for zig v0.10 + exe.use_stage1 = true; // needed for zig v0.10 +
exe.setTarget(target); exe.setTarget(target);
exe.setBuildMode(mode); exe.setBuildMode(mode);