[dl] internal/version: set GOTOOLCHAIN=local+auto for gotip

0 views
Skip to first unread message

Hyang-Ah Hana Kim (Gerrit)

unread,
Apr 9, 2026, 5:57:24 PM (9 hours ago) Apr 9
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Go LUCI, Michael Matloob, Michael Matloob, golang-co...@googlegroups.com

Hyang-Ah Hana Kim submitted the change

Change information

Commit message:
gotip: explicitly set GOTOOLCHAIN=auto

Address issue 64665 by setting GOTOOLCHAIN=auto
if GOTOOLCHAIN env var is not explicitly configured
when invoking the real go binary from the gotip wrapper.
This ensures that user's global GOTOOLCHAIN setting
(set by `go env -w`) doesn't override gotip behavior.
Other version wrappers' behavior is left unchanged.

Fixes golang/go#64665
Change-Id: I076d34e88de8d149542085c494d4c1c31b7f379e
Reviewed-by: Michael Matloob <mat...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Michael Matloob <mat...@google.com>
Files:
  • M gotip/main.go
  • M internal/version/gotip.go
  • M internal/version/version.go
  • M internal/version/version_test.go
Change size: M
Delta: 4 files changed, 80 insertions(+), 8 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Michael Matloob, +2 by Michael Matloob, +2 by Dmitri Shuralyov
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: dl
Gerrit-Branch: master
Gerrit-Change-Id: I076d34e88de8d149542085c494d4c1c31b7f379e
Gerrit-Change-Number: 763260
Gerrit-PatchSet: 6
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages