Skip to content

Commit 5e0bcb3

Browse files
committed
cmd/go: enable concurrent backend compilation by default
It can be disabled by setting the environment variable GO19CONCURRENTCOMPILATION=0, or with -gcflags=-c=1. Fixes #15756. Change-Id: I7acbf16330512b62ee14ecbab1f46b53ec5a67b6 Reviewed-on: https://go-review.googlesource.com/41820 Run-TryBot: Josh Bleecher Snyder <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent f4e5bd4 commit 5e0bcb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/work/build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ See also: go install, go get, go clean.
144144
`,
145145
}
146146

147-
const concurrentGCBackendCompilationEnabledByDefault = false
147+
const concurrentGCBackendCompilationEnabledByDefault = true
148148

149149
func init() {
150150
// break init cycle

0 commit comments

Comments
 (0)