Skip to content

Commit 921e7df

Browse files
cmd/dist: don't run internal link tests on arm or darwin/arm64
Change-Id: I373a64fc30dee804d99e106d4627b780e1846917 Reviewed-on: https://go-review.googlesource.com/16999 Reviewed-by: David Crawshaw <[email protected]>
1 parent 5af2be8 commit 921e7df

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/cmd/dist/test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,16 @@ func (t *tester) registerTests() {
370370
break
371371
}
372372

373+
// ARM libgcc may be Thumb, which internal linking does not support.
374+
if t.goarch == "arm" {
375+
break
376+
}
377+
378+
// Darwin ARM64 fails with internal linking.
379+
if t.goos == "darwin" && t.goarch == "arm64" {
380+
break
381+
}
382+
373383
pkg := pkg
374384
t.tests = append(t.tests, distTest{
375385
name: "nolibgcc:" + pkg,

0 commit comments

Comments
 (0)