| ... | @@ -8,12 +8,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -8,12 +8,7 @@ pub fn build(b: *std.Build) void { |
| 8 | const optimize: std.builtin.OptimizeMode = .Debug; | 8 | const optimize: std.builtin.OptimizeMode = .Debug; |
| 9 | const target: std.zig.CrossTarget = .{}; | 9 | const target: std.zig.CrossTarget = .{}; |
| 10 | | 10 | |
| 11 | const ok = (builtin.os.tag != .wasi and | 11 | if (builtin.os.tag == .wasi) return; |
| 12 | // https://github.com/ziglang/zig/issues/13550 | | |
| 13 | (builtin.os.tag != .macos or builtin.cpu.arch != .aarch64) and | | |
| 14 | // https://github.com/ziglang/zig/issues/13686 | | |
| 15 | (builtin.os.tag != .windows or builtin.cpu.arch != .aarch64)); | | |
| 16 | if (!ok) return; | | |
| 17 | | 12 | |
| 18 | const lib = b.addSharedLibrary(.{ | 13 | const lib = b.addSharedLibrary(.{ |
| 19 | .name = "add", | 14 | .name = "add", |