internal/rosa/llvm: skip unwind_leaffunction on arm64
All checks were successful
Test / Create distribution (push) Successful in 1m29s
Test / Sandbox (push) Successful in 5m52s
Test / Sandbox (race detector) (push) Successful in 9m5s
Test / Hakurei (push) Successful in 9m11s
Test / ShareFS (push) Successful in 9m23s
Test / Hakurei (race detector) (push) Successful in 5m5s
Test / Flake checks (push) Successful in 1m53s

This unexpectedly passes.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-02 05:52:53 +09:00
parent 1d5d063d6a
commit a57a8fd5d8

View File

@@ -2,6 +2,7 @@ package rosa
import ( import (
"regexp" "regexp"
"runtime"
"strings" "strings"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
@@ -93,6 +94,13 @@ func (t Toolchain) newLLVM() (pkg.Artifact, string) {
// unwind: fails on musl // unwind: fails on musl
"eh_frame_fde_pc_range", "eh_frame_fde_pc_range",
} }
switch runtime.GOARCH {
case "arm64":
skipChecks = append(skipChecks,
// unwind: unexpectedly passes
"unwind_leaffunction",
)
}
for i, s := range skipChecks { for i, s := range skipChecks {
s = regexp.QuoteMeta(s) s = regexp.QuoteMeta(s)
s = strings.ReplaceAll(s, "/", "\\/") s = strings.ReplaceAll(s, "/", "\\/")