diff options
author | Bryan C. Mills <bcmills@google.com> | 2021-04-28 12:57:38 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2021-04-30 18:05:18 +0000 |
commit | 9a81702b974f9d6e5569f069baaad58a0829c63a (patch) | |
tree | 2f11395da6a0710b25fc997c478ad60988b2e1b9 /src/cmd/vendor | |
parent | 2bd3e48055cc36306d1ce5abc96685ada4e3c836 (diff) | |
download | go-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/vendor')
-rw-r--r-- | src/cmd/vendor/modules.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vendor/modules.txt b/src/cmd/vendor/modules.txt index 9229d2dc8b..0457b374b0 100644 --- a/src/cmd/vendor/modules.txt +++ b/src/cmd/vendor/modules.txt @@ -16,6 +16,7 @@ github.com/google/pprof/third_party/d3 github.com/google/pprof/third_party/d3flamegraph github.com/google/pprof/third_party/svgpan # github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 +## explicit github.com/ianlancetaylor/demangle # golang.org/x/arch v0.0.0-20210308155006-05f8f0431f72 ## explicit @@ -39,6 +40,7 @@ golang.org/x/mod/sumdb/note golang.org/x/mod/sumdb/tlog golang.org/x/mod/zip # golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57 +## explicit golang.org/x/sys/internal/unsafeheader golang.org/x/sys/plan9 golang.org/x/sys/unix @@ -91,5 +93,6 @@ golang.org/x/tools/go/types/typeutil golang.org/x/tools/internal/analysisinternal golang.org/x/tools/internal/lsp/fuzzy # golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 +## explicit golang.org/x/xerrors golang.org/x/xerrors/internal |