diff --git a/lib/std/start.zig b/lib/std/start.zig index 56903373178fadc17a9244fdfc9e21a5aeb8c20f..81c7942bc18a371875426317da0d1c53d72ccb6d 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -29,9 +29,7 @@ comptime { builtin.zig_backend == .stage2_aarch64 or builtin.zig_backend == .stage2_arm or builtin.zig_backend == .stage2_riscv64 or - builtin.zig_backend == .stage2_sparcv9 or - (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)) + builtin.zig_backend == .stage2_sparcv9) { if (builtin.output_mode == .Exe) { if ((builtin.link_libc or builtin.object_format == .c) and @hasDecl(root, "main")) { diff --git a/test/incremental/aarch64-macos/hello_world_with_updates.0.zig b/test/incremental/aarch64-macos/hello_world_with_updates.0.zig index 11a379a9a933e6736165dd0a6d5625b3eb0418c9..300baac1a45566c33a5e0aa3573cdad39db51a0b 100644 --- a/test/incremental/aarch64-macos/hello_world_with_updates.0.zig +++ b/test/incremental/aarch64-macos/hello_world_with_updates.0.zig @@ -2,4 +2,4 @@ // output_mode=Exe // target=aarch64-macos // -// :109:9: error: struct 'tmp.tmp' has no member named 'main' +// :107:9: error: struct 'tmp.tmp' has no member named 'main' diff --git a/test/incremental/x86_64-linux/hello_world_with_updates.0.zig b/test/incremental/x86_64-linux/hello_world_with_updates.0.zig index 960fae5e644fa67cb8f46decb7c774ae7a0719d1..47b5e9db7abbcfbe9c42c409e943dffeeb988272 100644 --- a/test/incremental/x86_64-linux/hello_world_with_updates.0.zig +++ b/test/incremental/x86_64-linux/hello_world_with_updates.0.zig @@ -2,4 +2,4 @@ // output_mode=Exe // target=x86_64-linux // -// :109:9: error: struct 'tmp.tmp' has no member named 'main' +// :107:9: error: struct 'tmp.tmp' has no member named 'main' diff --git a/test/incremental/x86_64-macos/hello_world_with_updates.0.zig b/test/incremental/x86_64-macos/hello_world_with_updates.0.zig index 34440c4603e0c2164ad399efb03d59e4de9cf6ff..dd43748e6ebae04fefc21487192228666c7d15ed 100644 --- a/test/incremental/x86_64-macos/hello_world_with_updates.0.zig +++ b/test/incremental/x86_64-macos/hello_world_with_updates.0.zig @@ -2,4 +2,4 @@ // output_mode=Exe // target=x86_64-macos // -// :109:9: error: struct 'tmp.tmp' has no member named 'main' +// :107:9: error: struct 'tmp.tmp' has no member named 'main'