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, "/", "\\/")