]> Cypherpunks repositories - gostls13.git/commit
cmd/go: make vet work with -overlay
authorRuss Cox <rsc@golang.org>
Sun, 17 Nov 2024 21:52:25 +0000 (16:52 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 19 Nov 2024 19:46:57 +0000 (19:46 +0000)
commitd9de8ba83ce6408a21a836a460d63a391f50e9e6
tree1545931e0c8aa95fc4d64a50beca421f85674983
parentd90ce588eac7b9105c0ca556a7c6e975fd5c1eca
cmd/go: make vet work with -overlay

It never worked before, an apparent oversight.
This will also make tests work, since tests run vet.

The new FIPS mode will use overlays, so this was
keeping go test from working in that mode.

Fixes #44957.

Change-Id: I3a77846b3b3f9a3a53118aaece93ee93214a36a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/629199
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/script/build_overlay.txt