cmd/distpack deletes that module from its distribution.
For #24904.
Change-Id: I69dd328d0f790a49db7a053d703ae985d9ebe9e4
Reviewed-on: https://go-review.googlesource.com/c/go/+/504060
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
knownGOROOTModules := [...]string{
"std",
"cmd",
- "misc",
+ // The "misc" module sometimes exists, but cmd/distpack intentionally removes it.
}
var seen = make(map[string]bool) // Key is module path.
for _, m := range goroot.modules {