]> Cypherpunks repositories - gostls13.git/commit
cmd/link: enable internal linking by default on darwin/arm64
authorCherry Zhang <cherryyz@google.com>
Sun, 25 Oct 2020 00:58:38 +0000 (20:58 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 28 Oct 2020 14:25:56 +0000 (14:25 +0000)
commitb85c2dd56c4ecc7bf445bd1615467ecd38598eee
tree04680f3f9dc562842a2e7cc7db3ed0eb9321e2ca
parent7c8d82e92be894fe02b1a0bee775cf803c6849c1
cmd/link: enable internal linking by default on darwin/arm64

With previous CLs, internal linking without cgo should work well.
Enable it by default. And stop always requiring cgo.

Enable tests that were previously disabled due to the lack of
internal linking.

Updates #38485.

Change-Id: I45125b9c263fd21d6847aa6b14ecaea3a2989b29
Reviewed-on: https://go-review.googlesource.com/c/go/+/265121
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/internal/load/pkg.go
src/cmd/internal/sys/supported.go
src/cmd/link/internal/ld/config.go
src/cmd/nm/nm_cgo_test.go
src/internal/testenv/testenv.go
test/fixedbugs/bug429_run.go
test/fixedbugs/issue21576.go