We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd3d279 commit d8c9ef9Copy full SHA for d8c9ef9
src/cmd/dist/test.go
@@ -133,7 +133,11 @@ func (t *tester) run() {
133
// to break if we don't automatically refresh things here.
134
// Rebuilding is a shortened bootstrap.
135
// See cmdbootstrap for a description of the overall process.
136
- if !t.listMode {
+ //
137
+ // But don't do this if we're running in the Go build system,
138
+ // where cmd/dist is invoked many times. This just slows that
139
+ // down (Issue 24300).
140
+ if !t.listMode && os.Getenv("GO_BUILDER_NAME") == "" {
141
goInstall("go", append([]string{"-i"}, toolchain...)...)
142
143
goInstall("go", "std", "cmd")
0 commit comments