]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove support for -buildmode=shared
authorBryan C. Mills <bcmills@google.com>
Wed, 27 Oct 2021 18:29:29 +0000 (14:29 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 27 Oct 2021 20:03:17 +0000 (20:03 +0000)
commit68bd5121ee8954cfd7e3f7edb5d035f0e8b1bccc
treebe75f58e79a1c5126e119f2dc5245edcd0974ba0
parentffd2284db06d433d60aa75ea413f407b90e583b6
cmd/go: remove support for -buildmode=shared

It never worked in module mode (or with a read-only GOROOT).
A proposal to drop it was filed (and approved) in
https://golang.org/issue/47788.

Fixes #47788

Change-Id: I0c12f38eb0c5dfe9384fbdb49ed202301fa4273d
Reviewed-on: https://go-review.googlesource.com/c/go/+/359096
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
44 files changed:
doc/go1.18.html
misc/cgo/testshared/overlaydir_test.go [deleted file]
misc/cgo/testshared/shared_test.go [deleted file]
misc/cgo/testshared/testdata/dep2/dep2.go [deleted file]
misc/cgo/testshared/testdata/dep3/dep3.go [deleted file]
misc/cgo/testshared/testdata/depBase/asm.s [deleted file]
misc/cgo/testshared/testdata/depBase/dep.go [deleted file]
misc/cgo/testshared/testdata/depBase/gccgo.go [deleted file]
misc/cgo/testshared/testdata/depBase/stubs.go [deleted file]
misc/cgo/testshared/testdata/division/division.go [deleted file]
misc/cgo/testshared/testdata/exe/exe.go [deleted file]
misc/cgo/testshared/testdata/exe2/exe2.go [deleted file]
misc/cgo/testshared/testdata/exe3/exe3.go [deleted file]
misc/cgo/testshared/testdata/execgo/exe.go [deleted file]
misc/cgo/testshared/testdata/explicit/explicit.go [deleted file]
misc/cgo/testshared/testdata/gcdata/main/main.go [deleted file]
misc/cgo/testshared/testdata/gcdata/p/p.go [deleted file]
misc/cgo/testshared/testdata/global/main.go [deleted file]
misc/cgo/testshared/testdata/globallib/global.go [deleted file]
misc/cgo/testshared/testdata/iface/main.go [deleted file]
misc/cgo/testshared/testdata/iface_a/a.go [deleted file]
misc/cgo/testshared/testdata/iface_b/b.go [deleted file]
misc/cgo/testshared/testdata/iface_i/i.go [deleted file]
misc/cgo/testshared/testdata/implicit/implicit.go [deleted file]
misc/cgo/testshared/testdata/implicitcmd/implicitcmd.go [deleted file]
misc/cgo/testshared/testdata/issue25065/a.go [deleted file]
misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go [deleted file]
misc/cgo/testshared/testdata/issue30768/x_test.go [deleted file]
misc/cgo/testshared/testdata/issue39777/a/a.go [deleted file]
misc/cgo/testshared/testdata/issue39777/b/b.go [deleted file]
misc/cgo/testshared/testdata/issue44031/a/a.go [deleted file]
misc/cgo/testshared/testdata/issue44031/b/b.go [deleted file]
misc/cgo/testshared/testdata/issue44031/main/main.go [deleted file]
misc/cgo/testshared/testdata/issue47837/a/a.go [deleted file]
misc/cgo/testshared/testdata/issue47837/main/main.go [deleted file]
misc/cgo/testshared/testdata/trivial/trivial.go [deleted file]
src/cmd/dist/test.go
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/go/internal/list/list.go
src/cmd/go/internal/work/build.go
src/cmd/go/internal/work/init.go
src/cmd/go/testdata/script/list_linkshared.txt [deleted file]
src/cmd/internal/sys/supported.go