You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tools run by go run/generate sometimes need to execute the go command, for example when using go/packages.
Adding $GOROOT/bin to $PATH ensures that the appropriate version of the go/gofmt commands are run when using a go command wrapper generated by x/build/version.
edit: and test. Anything that runs go code could exec the go tool.
dmitshur
changed the title
x/build/version: add $GOROOT/bin to $PATH when running go run/generate
x/dl/internal/version: add $GOROOT/bin to $PATH when running go run/generate
Oct 15, 2018
dmitshur
changed the title
x/dl/internal/version: add $GOROOT/bin to $PATH when running go run/generate
dl/internal/version: add $GOROOT/bin to $PATH when running go run/generate
Jun 24, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tools run by go run/generate sometimes need to execute the go command, for example when using
go/packages
.Adding $GOROOT/bin to $PATH ensures that the appropriate version of the go/gofmt commands are run when using a go command wrapper generated by x/build/version.
edit: and
test
. Anything that runs go code could exec the go tool.See #28043 for background and discussion, specifically #28043 (comment).
cc @bcmills
The text was updated successfully, but these errors were encountered: