aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/modules.txt
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-05-06 14:01:20 -0400
committerRuss Cox <rsc@golang.org>2021-05-13 15:33:24 +0000
commitcde2d857fe1f13ade269e3f7d58c6c2379a53c50 (patch)
tree93ae8b9d97e274b6d8293aa3111228b4425fce06 /src/cmd/vendor/modules.txt
parent2a61b3c59088115245d084d5ae07dd4be5fbe1b0 (diff)
downloadgo-cde2d857fe1f13ade269e3f7d58c6c2379a53c50.tar.gz
go-cde2d857fe1f13ade269e3f7d58c6c2379a53c50.zip
cmd/go: be less strict about go version syntax in dependency go.mod files
It is unclear what the future holds for the go line in go.mod files. Perhaps at some point we will switch to semver numbering. Perhaps at some point we will allow specifying minor versions or even betas and release candidates. Those kinds of changes are difficult today because the go line is parsed in dependency modules, meaning that older versions of the Go toolchain need to understand newer go lines. This CL makes that case - parsing a go line in a dependency's go.mod file - a bit more lax about how to find the version. It allows a leading v and any trailing non-digit-prefixed string after the MAJOR.MINOR section. There are no concrete plans to make use of any of these changes, but if in the future we want to make them, having a few Go releases under out belt that will accept the syntax in dependencies will make any changes significantly easier. Change-Id: I79bb84bba4b769048ac4b14d5c275eb9a3f270c4 Reviewed-on: https://go-review.googlesource.com/c/go/+/317690 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/vendor/modules.txt')
-rw-r--r--src/cmd/vendor/modules.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vendor/modules.txt b/src/cmd/vendor/modules.txt
index 10591f8041..016ec011a9 100644
--- a/src/cmd/vendor/modules.txt
+++ b/src/cmd/vendor/modules.txt
@@ -28,7 +28,7 @@ golang.org/x/arch/x86/x86asm
## explicit; go 1.17
golang.org/x/crypto/ed25519
golang.org/x/crypto/ed25519/internal/edwards25519
-# golang.org/x/mod v0.4.3-0.20210504181020-67f1c1edc27a
+# golang.org/x/mod v0.4.3-0.20210512182355-6088ed88cecd
## explicit; go 1.17
golang.org/x/mod/internal/lazyregexp
golang.org/x/mod/modfile