diff --git a/build.zig b/build.zig index f819088..c534235 100644 --- a/build.zig +++ b/build.zig @@ -7,7 +7,7 @@ pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{ .default_target = if (builtin.os.tag == .linux) .{ .abi = .musl } else .{}, }); - if (target.result.os.tag == .windows) b.fatal("zag does not support Windows (supported: Linux and macOS)", .{}); + if (target.result.os.tag == .windows) std.process.fatal("zag does not support Windows (supported: Linux and macOS)", .{}); const optimize = b.standardOptimizeOption(.{}); const strip = b.option(bool, "strip", "Strip debug symbols from the binary") orelse false;