]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: don't compile unneeded GOARCH SSA rewrite rules during bootstrap
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 13 Apr 2017 01:24:10 +0000 (01:24 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 13 Apr 2017 02:03:10 +0000 (02:03 +0000)
commit9dbba36a979323357f7f0e68664b522c67c30ecf
tree9553d60a936df2a42397f942990b246c7014a768
parente05de6a5be66c517516e78093606ffc8c89042b2
cmd/dist: don't compile unneeded GOARCH SSA rewrite rules during bootstrap

Speeds up build (the bootstrap phase) by ~6 seconds.

Bootstrap goes from ~18 seconds to ~12 seconds.

Change-Id: I7e2ec8f5fc668bf6168d90098eaf70390b16e479
Reviewed-on: https://go-review.googlesource.com/40503
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/dist/buildtool.go