aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-04-20 15:43:17 -0400
committerRuss Cox <rsc@golang.org>2021-04-23 21:48:37 +0000
commit9cc3469106df94ad0d3c806bcfbddb7e5224d8b6 (patch)
tree2b88d0aa02eab0b35baa065e862c7721d81e6542 /src/debug
parent8e368708c510219dabfb38a4781d2152420c778f (diff)
downloadgo-9cc3469106df94ad0d3c806bcfbddb7e5224d8b6.tar.xz
all: do not test internal linking on windows/arm64
(It doesn't work and isn't used by default.) Change-Id: I90118d889bd963471f0915d8183502b55bd9dbf2 Reviewed-on: https://go-review.googlesource.com/c/go/+/312045 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/pe/file_cgo_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/pe/file_cgo_test.go b/src/debug/pe/file_cgo_test.go
index bba3a068d6..13eb4e62b2 100644
--- a/src/debug/pe/file_cgo_test.go
+++ b/src/debug/pe/file_cgo_test.go
@@ -9,6 +9,7 @@ package pe
import (
"os/exec"
+ "runtime"
"testing"
)
@@ -24,6 +25,9 @@ func TestDefaultLinkerDWARF(t *testing.T) {
}
func TestInternalLinkerDWARF(t *testing.T) {
+ if runtime.GOARCH == "arm64" {
+ t.Skip("internal linker disabled on windows/arm64")
+ }
testCgoDWARF(t, linkCgoInternal)
}