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 <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Michael Pratt 2025-05-21 10:58:32 -04:00 committed by Gopher Robot
parent 360600b1d2
commit 419367969c
1 changed files with 1 additions and 1 deletions

View File

@ -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()