Commit 1b9e3635 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/dist: don't ship race-enabled commands

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8350044
parent 2a99f2fb
......@@ -197,6 +197,12 @@ func (b *Build) Do() error {
if err != nil {
return err
}
// Re-install std without -race, so that we're not left with
// a slower, race-enabled cmd/go, cmd/godoc, etc.
_, err = b.run(src, goCmd, "install", "-a", "std")
if err != nil {
return err
}
}
if err := b.tour(); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment