aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go.mod
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-04-28 12:57:38 -0400
committerBryan C. Mills <bcmills@google.com>2021-04-30 18:05:18 +0000
commit9a81702b974f9d6e5569f069baaad58a0829c63a (patch)
tree2f11395da6a0710b25fc997c478ad60988b2e1b9 /src/cmd/go.mod
parent2bd3e48055cc36306d1ce5abc96685ada4e3c836 (diff)
downloadgo-9a81702b974f9d6e5569f069baaad58a0829c63a.tar.gz
go-9a81702b974f9d6e5569f069baaad58a0829c63a.zip
cmd/go: enable lazy loading
This change activates the dormant “lazy loading” codepaths added in CL 265777 and its predecessors. Dependencies of modules that declare 'go 1.17' or higher are loaded lazily, and the dependencies in the go.mod file maintain additional invariants to support more efficient lazy loading for downstream dependent modules. See https://golang.org/design/36460-lazy-module-loading for the detailed design. For #36460 Change-Id: Ic12ee7842aef9580357fcf8909d87654fcb2ad12 Reviewed-on: https://go-review.googlesource.com/c/go/+/314634 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd/go.mod')
-rw-r--r--src/cmd/go.mod3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/go.mod b/src/cmd/go.mod
index c5f3271a9d..1487025268 100644
--- a/src/cmd/go.mod
+++ b/src/cmd/go.mod
@@ -4,9 +4,12 @@ go 1.17
require (
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5
+ github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect
golang.org/x/arch v0.0.0-20210308155006-05f8f0431f72
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
golang.org/x/mod v0.4.3-0.20210409134425-858fdbee9c24
+ golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57 // indirect
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
golang.org/x/tools v0.1.1-0.20210422170518-f946a157eefe
+ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
)