Commit 1a1f62a0ce
Changed files (4)
lib
std
test
incremental
aarch64-macos
x86_64-linux
x86_64-macos
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")) {
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'
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'
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'