authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-03 09:25:34+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-04 06:08:10+02:00
log7c85dc4602192f2e99f25e296a8ed3bf2db91d5a
tree98988e00265043a9ca242be4542365ef531d7bc5
parent4b360a1ff084c1f8ad4d97296570a7f801031f28
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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, ^

1 files changed, 1 insertions(+), 0 deletions(-)

test/stack_traces.zig+1
...@@ -839,6 +839,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {...@@ -839,6 +839,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
839 .exclude_os = &.{839 .exclude_os = &.{
840 .windows, // TODO840 .windows, // TODO
841 .linux, // defeated by aggressive inlining841 .linux, // defeated by aggressive inlining
842 .macos, // Broken in LLVM 20.
842 },843 },
843 .expect =844 .expect =
844 \\error: TheSkyIsFalling845 \\error: TheSkyIsFalling