]> Cypherpunks repositories - gostls13.git/commit
cmd/go: import runtime/cgo when externally linking
authorIan Lance Taylor <iant@golang.org>
Mon, 20 Mar 2023 19:53:22 +0000 (12:53 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 20 Mar 2023 22:03:35 +0000 (22:03 +0000)
commitc7f5b3595be77dc86ff99aa170bd40e55961e05f
tree6de27aa047157ed2de0b506ca9ee0c6cc7e10234
parent86ad2d570c79e1687ba0782a2be891195da42cbf
cmd/go: import runtime/cgo when externally linking

Restore CL 477195, which was reverted in CL 477795.
This version includes CL 477397, which fixes the test problems
with CL 477195. CL 477397 was not submitted because it had an
unrelated failure on darwin-amd64. That failure is fixed by CL 477736.

Fixes #31544

Change-Id: I3a2258cd0ca295cede3511ab212e56fd0114f94a
Reviewed-on: https://go-review.googlesource.com/c/go/+/477839
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/load/pkg.go
src/cmd/go/testdata/script/build_static.txt [new file with mode: 0644]