Skip to content

Commit 20da76d

Browse files
committed
Revert "cmd/link: default to external linking with cgo std packages"
This reverts CL 470298. Reason for revert: causes issues with Google internal testing. Updates #58619. Updates #58620. Change-Id: Ic6601820ba8758ef96b71e32d9ffc549c36d5c98 Reviewed-on: https://go-review.googlesource.com/c/go/+/470835 Reviewed-by: Russ Cox <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Than McIntosh <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent ebe49f9 commit 20da76d

File tree

1 file changed

+3
-0
lines changed
  • src/cmd/link/internal/ld

1 file changed

+3
-0
lines changed

src/cmd/link/internal/ld/lib.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,9 @@ var hostobj []Hostobj
11181118
var internalpkg = []string{
11191119
"crypto/internal/boring",
11201120
"crypto/internal/boring/syso",
1121+
"crypto/x509",
1122+
"net",
1123+
"os/user",
11211124
"runtime/cgo",
11221125
"runtime/race",
11231126
"runtime/race/internal/amd64v1",

0 commit comments

Comments
 (0)