commit 7c85dc4602192f2e99f25e296a8ed3bf2db91d5a (tree)
parent 4b360a1ff084c1f8ad4d97296570a7f801031f28
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 3 Apr 2025 09:25:34 +0200
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,
^
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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