From a57a8fd5d8de1890c3e6d781ad577d0752c55e68 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 2 May 2026 05:52:53 +0900 Subject: [PATCH] internal/rosa/llvm: skip unwind_leaffunction on arm64 This unexpectedly passes. Signed-off-by: Ophestra --- internal/rosa/llvm.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index aac950e6..4e68f8cb 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -2,6 +2,7 @@ package rosa import ( "regexp" + "runtime" "strings" "hakurei.app/internal/pkg" @@ -93,6 +94,13 @@ func (t Toolchain) newLLVM() (pkg.Artifact, string) { // unwind: fails on musl "eh_frame_fde_pc_range", } + switch runtime.GOARCH { + case "arm64": + skipChecks = append(skipChecks, + // unwind: unexpectedly passes + "unwind_leaffunction", + ) + } for i, s := range skipChecks { s = regexp.QuoteMeta(s) s = strings.ReplaceAll(s, "/", "\\/")