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 88d87d6 commit 1b5a43fCopy full SHA for 1b5a43f
lib/std/start.zig
@@ -30,8 +30,8 @@ comptime {
30
builtin.zig_backend == .stage2_arm or
31
builtin.zig_backend == .stage2_riscv64 or
32
builtin.zig_backend == .stage2_sparcv9 or
33
- (builtin.zig_backend == .stage2_llvm and native_os != .linux) or
34
- (builtin.zig_backend == .stage2_llvm and native_arch != .x86_64))
+ (builtin.zig_backend == .stage2_llvm and native_os != .linux and native_os != .macos) or
+ (builtin.zig_backend == .stage2_llvm and native_arch != .x86_64 and native_arch != .aarch64))
35
{
36
if (builtin.output_mode == .Exe) {
37
if ((builtin.link_libc or builtin.object_format == .c) and @hasDecl(root, "main")) {
0 commit comments