]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go/internal/modload: avoid loading the full module graph for imports satisfied...
authorBryan C. Mills <bcmills@google.com>
Wed, 28 Apr 2021 16:57:55 +0000 (12:57 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 30 Apr 2021 18:05:38 +0000 (18:05 +0000)
commit4063605e0d0ce2ee2603c70a70c3a918adb7369a
tree2b6f334a4f924d8432cad11e3edb763f6ca576d1
parent8d8abb3b8a80d341ce2d7c6dd3f2a43fd586bed8
cmd/go/internal/modload: avoid loading the full module graph for imports satisfied by lazy roots

For #36460

Change-Id: Ibdbaa893ded772617e22f12db7a0463604db5195
Reviewed-on: https://go-review.googlesource.com/c/go/+/308516
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>
src/cmd/go/internal/modload/import.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/modload/load.go
src/cmd/go/testdata/script/mod_install_pkg_version.txt
src/cmd/go/testdata/script/mod_run_pkg_version.txt