Skip to content

Conversation

@dagood
Copy link
Member

@dagood dagood commented Jan 13, 2026

$ bin/go version
go version go1.26-microsoft-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800 linux/amd64
$ GODEBUG=ms_version=0 bin/go version
go version go1.26-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800 linux/amd64

$ bin/go run ./ver.go # Prints runtime.Version()
go1.26-microsoft-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800
$ GODEBUG=ms_version=0 bin/go run ./ver.go
go1.26-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800

$ bin/go build ./ver.go && ./ver
go1.26-microsoft-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800
$ bin/go build -ldflags='-ms_embedupstreamversion' ./ver.go && ./ver
go1.26-devel_0c7a724258 Tue Jan 13 11:21:36 2026 -0800
# "go version ver" info on above binaries matches.

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.

2 participants