From f8b8259e5caf30bd87151a0dcad7867768930e6b Mon Sep 17 00:00:00 2001 From: mlugg Date: Mon, 25 Mar 2024 14:47:32 +0000 Subject: [PATCH] behavior: skip newly failing test This test has regressed due to a bug in the self-hosted COFF linker. Jakub recommended disabling it for now, since the COFF linker is being effectively rewritten, so there is little point in fixing the bug now. --- test/behavior/extern.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/test/behavior/extern.zig b/test/behavior/extern.zig index 93ac494b88d2..747d62986e16 100644 --- a/test/behavior/extern.zig +++ b/test/behavior/extern.zig @@ -5,6 +5,7 @@ const expect = std.testing.expect; test "anyopaque extern symbol" { if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf and builtin.target.ofmt != .macho) return error.SkipZigTest; if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; const a = @extern(*anyopaque, .{ .name = "a_mystery_symbol" });