golang.org/dl/gotip: command should override GOROOT with its tip packages location #35577
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
What did you do?
While verifying an issue fix from tip (#34123), I built the affected repro case I have using
gotip run main.go
What did you expect to see?
I expected the compiled app to use the runtime packages downloaded by it
What did you see instead?
The app was still being built using the local GOROOT packages. I had to override GOROOT manually to achieve that end:
GOROOT=~/sdk/gotip gotip run main.go
Since the purpose of gotip is to serve as a downloader and nightly version of Go it could be more consistent from an usability standpoint for it to use its packages by default (although I guess that this would be a breaking change because all users of this all are already used to this behavior)
The text was updated successfully, but these errors were encountered: