]> Cypherpunks repositories - gostls13.git/commit
Revert "cmd/go: remove support for -buildmode=shared"
authorBryan C. Mills <bcmills@google.com>
Fri, 29 Oct 2021 01:18:24 +0000 (01:18 +0000)
committerBryan C. Mills <bcmills@google.com>
Fri, 29 Oct 2021 17:32:24 +0000 (17:32 +0000)
commita88575d662a7e8e4fbb31bf139bcffc063e2a734
tree5c7fa89494829d58483fca59c6c4ee83e184cbb6
parent645d07819b2224ba4d759829443f7c6442162c69
Revert "cmd/go: remove support for -buildmode=shared"

This reverts CL 359096.

Updates #47788.

Reason for revert: -buildmode=shared may have actually been working in a few very specific cases. We should not remove -buildmode=shared until we have implemented an alternative to support those few cases.

Change-Id: Ia962b06abacc11f6f29fc29d092773be175e32f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/359575
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
44 files changed:
doc/go1.18.html
misc/cgo/testshared/overlaydir_test.go [new file with mode: 0644]
misc/cgo/testshared/shared_test.go [new file with mode: 0644]
misc/cgo/testshared/testdata/dep2/dep2.go [new file with mode: 0644]
misc/cgo/testshared/testdata/dep3/dep3.go [new file with mode: 0644]
misc/cgo/testshared/testdata/depBase/asm.s [new file with mode: 0644]
misc/cgo/testshared/testdata/depBase/dep.go [new file with mode: 0644]
misc/cgo/testshared/testdata/depBase/gccgo.go [new file with mode: 0644]
misc/cgo/testshared/testdata/depBase/stubs.go [new file with mode: 0644]
misc/cgo/testshared/testdata/division/division.go [new file with mode: 0644]
misc/cgo/testshared/testdata/exe/exe.go [new file with mode: 0644]
misc/cgo/testshared/testdata/exe2/exe2.go [new file with mode: 0644]
misc/cgo/testshared/testdata/exe3/exe3.go [new file with mode: 0644]
misc/cgo/testshared/testdata/execgo/exe.go [new file with mode: 0644]
misc/cgo/testshared/testdata/explicit/explicit.go [new file with mode: 0644]
misc/cgo/testshared/testdata/gcdata/main/main.go [new file with mode: 0644]
misc/cgo/testshared/testdata/gcdata/p/p.go [new file with mode: 0644]
misc/cgo/testshared/testdata/global/main.go [new file with mode: 0644]
misc/cgo/testshared/testdata/globallib/global.go [new file with mode: 0644]
misc/cgo/testshared/testdata/iface/main.go [new file with mode: 0644]
misc/cgo/testshared/testdata/iface_a/a.go [new file with mode: 0644]
misc/cgo/testshared/testdata/iface_b/b.go [new file with mode: 0644]
misc/cgo/testshared/testdata/iface_i/i.go [new file with mode: 0644]
misc/cgo/testshared/testdata/implicit/implicit.go [new file with mode: 0644]
misc/cgo/testshared/testdata/implicitcmd/implicitcmd.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue25065/a.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue30768/x_test.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue39777/a/a.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue39777/b/b.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue44031/a/a.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue44031/b/b.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue44031/main/main.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue47837/a/a.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue47837/main/main.go [new file with mode: 0644]
misc/cgo/testshared/testdata/trivial/trivial.go [new file with mode: 0644]
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 [new file with mode: 0644]
src/cmd/internal/sys/supported.go