Permalink
Browse files

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>
  • Loading branch information...
josharian committed Apr 26, 2017
1 parent f4e5bd4 commit 5e0bcb3893c2e54fdb96affcafd2953f20dd64eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cmd/go/internal/work/build.go
@@ -144,7 +144,7 @@ See also: go install, go get, go clean.
`,
}
const concurrentGCBackendCompilationEnabledByDefault = false
const concurrentGCBackendCompilationEnabledByDefault = true
func init() {
// break init cycle

0 comments on commit 5e0bcb3

Please sign in to comment.