]> Cypherpunks repositories - gostls13.git/commit
cmd/go: diagnose unset GOROOT when built with -trimpath
authorBryan C. Mills <bcmills@google.com>
Fri, 11 Mar 2022 04:40:10 +0000 (23:40 -0500)
committerBryan Mills <bcmills@google.com>
Fri, 18 Mar 2022 22:42:43 +0000 (22:42 +0000)
commitcc2e7f36bad66c24eecf7868e7ac35c74455b212
tree8392f00c4e412d587348a91497e77d03ff2f8105
parente1fbf13896feb0b55050c22f5be0746f8a2ba01b
cmd/go: diagnose unset GOROOT when built with -trimpath

For #51483

Change-Id: I4546c20cf968b595020a1eba888fe1d9a1c6cfc5
Reviewed-on: https://go-review.googlesource.com/c/go/+/391811
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/main.go
src/cmd/go/script_test.go
src/cmd/go/testdata/script/build_trimpath_goroot.txt