]> Cypherpunks repositories - gostls13.git/commit
cmd/go: initialize in get before loading packages
authorIan Lance Taylor <iant@golang.org>
Fri, 2 Jun 2017 00:38:34 +0000 (17:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Jun 2017 14:45:39 +0000 (14:45 +0000)
commit8f9893173b70d7c2520321ff128f659e497914f4
tree23f94606f00b6dbce4bd6bd79076e5972fb5188b
parenta38c8dfa44f32eb464b826c7f7a50e51f73506e0
cmd/go: initialize in get before loading packages

Otherwise the packages will not pick up the way that -installsuffix is
changed by -buildmode and -race.

Fixes #20512.

Change-Id: Ieca32c958a531beb6331dff30d7e9a4998867dbb
Reviewed-on: https://go-review.googlesource.com/44630
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/get/get.go
src/cmd/go/internal/work/build.go