From 9e25c2f6dee50f9ce0fcfe1807befad9e54dfe4b Mon Sep 17 00:00:00 2001 From: qmuntal Date: Tue, 16 Sep 2025 18:00:10 +0200 Subject: cmd/link: internal linking support for windows/arm64 The internal linker was missing some pieces to support windows/arm64. Closes #75485 Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64 Change-Id: I5c18a47e63e09b8ae22c9b24832249b54f544b7e Reviewed-on: https://go-review.googlesource.com/c/go/+/704295 Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Knyszek --- src/internal/platform/supported.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/internal') diff --git a/src/internal/platform/supported.go b/src/internal/platform/supported.go index f9706a6988..778d727086 100644 --- a/src/internal/platform/supported.go +++ b/src/internal/platform/supported.go @@ -89,11 +89,6 @@ func MustLinkExternal(goos, goarch string, withCgo bool) bool { // Internally linking cgo is incomplete on some architectures. // https://go.dev/issue/14449 return true - case "arm64": - if goos == "windows" { - // windows/arm64 internal linking is not implemented. - return true - } case "ppc64": // Big Endian PPC64 cgo internal linking is not implemented for aix or linux. // https://go.dev/issue/8912 -- cgit v1.3-5-g9baa