From 0567e2ef8d856c051996ab281135d4b13b583a67 Mon Sep 17 00:00:00 2001 From: Daniel Samson Date: Sat, 17 Oct 2026 14:49:21 +0100 Subject: [PATCH] build: fix the Windows-unsupported check (std.process.fatal) Co-Authored-By: Claude Sonnet 5.5 --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;