We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825c6a5 commit 483c2aeCopy full SHA for 483c2ae
build.zig
@@ -22,8 +22,8 @@ pub fn build(b: *Build) void {
22
23
// writing WritingLibFiles isn't implemented on windows
24
// and zld the only linker suppored on macos
25
- const is_macos = builtin.os.tag == .macos;
26
- const is_windows = builtin.os.tag == .windows;
+ const is_macos = builtin.os.tag == .macos or target.result.os.tag == .macos;
+ const is_windows = builtin.os.tag == .windows or target.result.os.tag == .windows;
27
const use_lld = if (is_macos) false else if (is_windows) true else switch (optimize) {
28
.Debug => false,
29
else => true,
0 commit comments