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
src/goInstallTools: use the 'go' command from GOROOT/bin for tool install
For tools installation, we run `go get` from a temporary directory in order
to use the clean module-aware go build mode. This causes an issue in
environments where the choice of go is determined by the current directory.
In this change we pin the go version by using GOROOT/bin/go{.exe} instead
of the go binary bin path.
Note: We tried to address this issue by running the go command with a
temporary -modfile in the current workspace directory. Unfortunately,
that approach turned out to be more complicated than expected.
And add verbose logging for the installation logic (can be enabled by
'"go.logging.level": "verbose"'
Fixes#757
Change-Id: I7ab792a494a38dcb6b2f6fc8891fa96af5c29380
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/263977
Trust: Hyang-Ah Hana Kim <[email protected]>
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Suzy Mueller <[email protected]>
0 commit comments