]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: allow 'go mod download' to switch toolchains if called with explicit arguments
authorBryan C. Mills <bcmills@google.com>
Wed, 30 Aug 2023 14:06:00 +0000 (10:06 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 3 Nov 2023 19:58:00 +0000 (19:58 +0000)
commitd72f4542fea6c2724a253a8322bc8aeed637021e
tree7a485843ca0d26045fc76cee374ee17894b9812d
parentab79684cdf07bb77f06c35b563b731e26a8137b5
cmd/go: allow 'go mod download' to switch toolchains if called with explicit arguments

Fixes #62054.

Change-Id: I4ea24070f7d9aa4964c2f215836602068058f718
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/537480
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modcmd/download.go
src/cmd/go/testdata/script/gotoolchain_modcmds.txt
src/cmd/go/testdata/script/mod_download_exec_toolchain.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_get_future.txt