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
extension/src/goEnv: set GOTOOLCHAIN=auto by default
After go1.21, the tool authors can specify their go version
requirements in their go.mod files. Gopls v0.17+ will start
to require the latest go version. The `go install` command
will then try to download the required go version if the
local toolchain is not new enough to meet the requirement.
Some users set GOTOOLCHAIN to local to avoid toolchain update
during their own projects build. If the local toolchain is
older than the latest go, tool installation will stop working.
The users' intention is most likely to control the go version
used to build their own projects, not the tools the plugin
depends on though.
Override the env var to the official toolchain's default
"auto".
Fixes#3430
Change-Id: I708ec88001b40e7b5dcd47365083e7530d1d7eab
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/596315
Commit-Queue: Hyang-Ah Hana Kim <[email protected]>
kokoro-CI: kokoro <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
0 commit comments