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
cmd/go: improve "toolchain not available" message when patch version is missing #66175
Comments
CC @bcmills and @matloob via https://dev.golang.org/owners |
(CC @samthanawalla) |
it's worse in the case of no explicit TOOLCHAIN (if you set a toolchain I think it's reasonable that it'd be fully qualified) but completely baffling when happening indirectly through a See details in #62278 (comment) |
There are several approaches to work.
The Go Version, like Specifying language version in go directive without toolchain directive will make developers which need to download newer toolchain fail. I hope go command or any document notes that. |
Change https://go.dev/cl/580217 mentions this issue: |
It took me a long while to figure out that the cause of the problem was a missing patch version suffix (
.0
). Either the go command should pick a reasonable suffix itself, or it should report that I am expected to provide one.The text was updated successfully, but these errors were encountered: