]> Cypherpunks repositories - gostls13.git/commitdiff
Revert "cmd/link: default to external linking with cgo std packages"
authorThan McIntosh <thanm@google.com>
Thu, 23 Feb 2023 20:17:09 +0000 (20:17 +0000)
committerThan McIntosh <thanm@google.com>
Thu, 23 Feb 2023 20:44:29 +0000 (20:44 +0000)
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 <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/link/internal/ld/lib.go

index b8bed27858be2b7516702105cab68cd8c55a219f..d96f13225642766e9bbebc3ae589d897e5b60fa4 100644 (file)
@@ -1118,6 +1118,9 @@ var hostobj []Hostobj
 var internalpkg = []string{
        "crypto/internal/boring",
        "crypto/internal/boring/syso",
+       "crypto/x509",
+       "net",
+       "os/user",
        "runtime/cgo",
        "runtime/race",
        "runtime/race/internal/amd64v1",