From 419367969c88e6e97f8648669969a01b60bdd350 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Wed, 21 May 2025 10:58:32 -0400 Subject: [PATCH] cmd/link: require cgo internal linking in TestIssue33979 This was a typo regression in CL 643897, which accidentally dropped the requirement for cgo internal linking. As a result, this test is continuously failing on windows-arm64. For #71395. Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64 Change-Id: I6a6a636c25fd399cda6649ef94655aa112f10f63 Reviewed-on: https://go-review.googlesource.com/c/go/+/675015 Auto-Submit: Michael Pratt Reviewed-by: Michael Knyszek Reviewed-by: Quim Muntal LUCI-TryBot-Result: Go LUCI --- src/cmd/link/link_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/link/link_test.go b/src/cmd/link/link_test.go index f26495a2b1..c3614c73f0 100644 --- a/src/cmd/link/link_test.go +++ b/src/cmd/link/link_test.go @@ -195,7 +195,7 @@ func TestIssue33979(t *testing.T) { testenv.MustHaveCGO(t) // N.B. go build below explictly doesn't pass through // -asan/-msan/-race, so we don't care about those. - testenv.MustInternalLink(t, testenv.NoSpecialBuildTypes) + testenv.MustInternalLink(t, testenv.SpecialBuildTypes{Cgo: true}) t.Parallel() -- 2.50.0