]> Cypherpunks repositories - gostls13.git/commit
cmd/go: avoid indexing modules in GOROOT
authorBryan C. Mills <bcmills@google.com>
Wed, 22 Jun 2022 19:19:54 +0000 (15:19 -0400)
committerBryan Mills <bcmills@google.com>
Wed, 22 Jun 2022 19:56:09 +0000 (19:56 +0000)
commitaca37d16a5a5c1d24e374245f0e5b6404379db96
treecf36bd9508c681e46c33134a6014925f7f705f7e
parent111cdb58487f1a3d2bd82be14a90837f31a3e320
cmd/go: avoid indexing modules in GOROOT

Scanning GOROOT modules for changes appears to be causing Windows
builders to time out in x/tools tests. We may try a per-package index
instead, but for now just skip GOROOT modules (as we do for main
modules).

Fixes #53493.

Change-Id: Ic5bb90b4ce173a24fc6564e85fcde96e1f9b975f
Reviewed-on: https://go-review.googlesource.com/c/go/+/413634
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/modindex/read.go