go/src/cmd
Austin Clements d26fc68aa1 cmd/internal/objabi,test: use correct GOEXPERIMENT build tags in test/run.go
Currently, run.go sets GOEXPERIMENT build tags based on the
*difference* from the baseline experiment configuration, rather than
the absolute experiment configuration. This differs from cmd/go. As a
result, if we set a baseline configuration and don't override it with
a GOEXPERIMENT setting, run.go won't set any GOEXPERIMENT build tags,
instead of setting the tags corresponding to the baseline
configuration.

Fix this by making compile -V=goexperiment produce the full
GOEXPERIMENT configuration, which run.go can then use to set exactly
the right set of build tags.

For #40724.

Change-Id: Ieda6ea62f1a1fabbe8d749d6d09c198fd5ca8377
Reviewed-on: https://go-review.googlesource.com/c/go/+/310171
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2021-04-16 03:16:55 +00:00
..
addr2line
api all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
asm cmd/internal/obj: consolidate AMOVW and AMOVWZ optab entries 2021-04-15 18:21:15 +00:00
buildid
cgo cmd/cgo: document generated cgo directives 2021-04-13 20:07:42 +00:00
compile cmd/compile: fix ANDI/SRWI merge on ppc64 2021-04-15 21:57:02 +00:00
cover cmd/cover: use golang.org/x/tools/cover directly 2021-03-25 20:57:58 +00:00
dist internal/bytealg: port more performance-critical functions to ABIInternal 2021-04-15 04:10:33 +00:00
doc cmd/doc: properly display interface methods 2021-03-19 03:05:26 +00:00
fix
go cmd/go/internal/modconv: involve GOPROXY in ConvertLegacyConfig 2021-04-15 20:13:20 +00:00
gofmt go/*,cmd/gofmt: guard AST changes with the typeparams build tag 2021-04-13 22:24:31 +00:00
internal cmd/internal/objabi,test: use correct GOEXPERIMENT build tags in test/run.go 2021-04-16 03:16:55 +00:00
link cmd/link: issue error if elf header overruns 2021-04-15 14:58:38 +00:00
nm all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
objdump cmd/objdump: update test with register ABI 2021-04-09 00:09:47 +00:00
pack cmd/pack: use testing.T.TempDir in tests 2021-04-07 13:24:10 +00:00
pprof cmd/vendor, cmd/pprof: use golang.org/x/term directly 2021-03-26 06:03:20 +00:00
test2json
trace runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
vendor cmd/go: upgrade and vendor golang.org/x/mod 2021-04-09 18:19:42 +00:00
vet cmd/vet: bring in sigchanyzer to report unbuffered channels to signal.Notify 2021-03-08 23:13:52 +00:00
README.vendor
go.mod cmd/go: upgrade and vendor golang.org/x/mod 2021-04-09 18:19:42 +00:00
go.sum cmd/go: upgrade and vendor golang.org/x/mod 2021-04-09 18:19:42 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.