Skip to content

Conversation

@dagood
Copy link
Member

@dagood dagood commented Jan 28, 2026

I noticed that the GOTOOLCHAIN warning doesn't have a newline at the end, which is confusing in a shell because it looks like it isn't ready for the next command at first glance:

dagood@dagood-3:~/git/go$ GOTOOLCHAIN=auto msgo version
GOTOOLCHAIN is set to "auto" but only "local" is allowed.
To allow this, set MS_GOTOOLCHAIN_ALLOW_NON_LOCAL=1 in your environment.
Take into account that that could cause the go command to use a different toolchain than the Microsoft build of Go.dagood@dagood-3:~/git/go$

(Note the prompt appearing at the end of the last line rather than on a new one.)

New behavior:

dagood@dagood-3:~/git/go$ GOTOOLCHAIN=auto go/bin/go version
GOTOOLCHAIN is set to "auto" but only "local" is allowed.
To allow this, set MS_GOTOOLCHAIN_ALLOW_NON_LOCAL=1 in your environment.
Take into account that that could cause the go command to use a different toolchain than the Microsoft build of Go.
dagood@dagood-3:~/git/go$

@dagood dagood requested a review from a team as a code owner January 28, 2026 18:34
@qmuntal qmuntal enabled auto-merge January 29, 2026 08:04
@qmuntal qmuntal merged commit 3389749 into microsoft/main Jan 29, 2026
43 checks passed
@qmuntal qmuntal deleted the dev/dagood/toolchain-safe branch January 29, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants