]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: always allow Stat for the current toolchain to succeed
authorBryan C. Mills <bcmills@google.com>
Thu, 13 Jul 2023 14:12:33 +0000 (10:12 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 13 Jul 2023 16:44:24 +0000 (16:44 +0000)
commitb88bd917b8dd8aabc471b1de41b3ee8c0d6eeabe
treed52d9093aa2fdcae999da1ac3ef7e00e0315a23e
parentd4f0d896a6856e3d6fc64d0e0714645844c59aa0
cmd/go/internal/modfetch: always allow Stat for the current toolchain to succeed

This fixes a failure mode observed in TestScript/gotoolchain_version
when building go1.21rc3.

Updates #61259.

Change-Id: Ifb14a5b94b687adea7a26c1155591e3ae75b7a62
Reviewed-on: https://go-review.googlesource.com/c/go/+/509217
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/toolchain.go