]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: when -compile-only is set, write binaries to os.DevNull
authorBryan C. Mills <bcmills@google.com>
Fri, 15 Nov 2019 17:29:04 +0000 (12:29 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 15 Nov 2019 18:52:11 +0000 (18:52 +0000)
commite1fa96049358737b138425918ce8d4a1f25ffd70
tree217fc777334e7c6048b4e32080d761ae036ed2e6
parent398f9e1e1a2f9af255d6b6036f07ec93c5c61ddd
cmd/dist: when -compile-only is set, write binaries to os.DevNull

Previously, we were writing binaries to GOROOT without ever reading them.

Updates #28387

Change-Id: Ic84999f46a367fcbf2ae1eac8bfdcbceb24dc748
Reviewed-on: https://go-review.googlesource.com/c/go/+/207342
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/dist/test.go