]> Cypherpunks repositories - gostls13.git/commit
cmd/go: expand acceptable toolchains a bit
authorRuss Cox <rsc@golang.org>
Wed, 24 May 2023 19:22:33 +0000 (15:22 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 25 May 2023 17:51:31 +0000 (17:51 +0000)
commite8c6003023b64b80bea6af8c4bb0b54d55f65dc0
tree02f8e8fe1b660e5ca523d8d0eb954848bc23af36
parentff07c540b13983aff41e2af4196853602c1192dd
cmd/go: expand acceptable toolchains a bit

Allow both prefix-goVERSION and goVERSION-suffix for custom toolchains.
Also make sure that a tie in the toolchain and min version goes to the
toolchain line.

For #57001.

Change-Id: Ibeea5f47db7349cfdf36da188bb43e195e196f5b
Reviewed-on: https://go-review.googlesource.com/c/go/+/498076
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/gotoolchain.go
src/cmd/go/internal/gover/latest.go
src/cmd/go/internal/gover/toolchain.go
src/cmd/go/testdata/script/gotoolchain.txt