1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:44:48 -07:00

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 <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-04-26 14:05:06 -07:00
parent f4e5bd483b
commit 5e0bcb3893

View File

@ -144,7 +144,7 @@ See also: go install, go get, go clean.
`,
}
const concurrentGCBackendCompilationEnabledByDefault = false
const concurrentGCBackendCompilationEnabledByDefault = true
func init() {
// break init cycle