From 7c85dc4602192f2e99f25e296a8ed3bf2db91d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 3 Apr 2025 09:25:34 +0200 Subject: [PATCH] test: Disable `error union switch with call operand` (ReleaseSafe) on macos. This started failing in LLVM 20: test +- test-stack-traces +- check error union switch with call operand (ReleaseSafe llvm) failure error: ========= expected this stdout: ========= error: TheSkyIsFalling source.zig:3:5: [address] in [function] return error.TheSkyIsFalling; ^ ========= but found: ==================== error: TheSkyIsFalling source.zig:13:27: [address] in [function] error.NonFatal => return, ^ --- test/stack_traces.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/test/stack_traces.zig b/test/stack_traces.zig index 85b682ab87..40a6168297 100644 --- a/test/stack_traces.zig +++ b/test/stack_traces.zig @@ -839,6 +839,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { .exclude_os = &.{ .windows, // TODO .linux, // defeated by aggressive inlining + .macos, // Broken in LLVM 20. }, .expect = \\error: TheSkyIsFalling