-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/cmd/updatestd: verify that target GOROOT's bin/go is in PATH #44862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The fix is to add code to It's also possible to print a fatal error rather than a note, but I think we want to allow the user of (If we think it's helpful to make sure the in-tree |
During the 1.18 dev cycle, using the
Now that (CC @cagedmantis.) |
Change https://go.dev/cl/452767 mentions this issue: |
Running into this today, when updating the vendored directories for 1.20 after the freeze. When the go command and
Sent CL 452767 to use the go command from |
What did you do?
~/development/go
, and~/development/goroot
)GOROOT=$HOME/development/goroot
PATH=$HOME/development/goroot/bin:$PATH
~/development/go/bin
Run the following command, where
--goroot
's bin directory is not in PATH:updatestd --branch master --goroot=$HOME/development/go
What did you expect to see?
What did you see instead?
Note how every line in
src/cmd/go.mod
incorrectly has// indirect
:/cc @dmitshur
The text was updated successfully, but these errors were encountered: