aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/run/run.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2017-03-29 10:16:50 -0400
committerRuss Cox <rsc@golang.org>2017-03-29 17:18:16 +0000
commit94c95d3e52ed55ef57e60ace559b684e4d5ebcbf (patch)
tree77191e98c67258fe90f5c4b12497ae92ec6aa654 /src/cmd/go/internal/run/run.go
parent6983b9a57955fa12ecd81ab8394ee09e64ef21b9 (diff)
downloadgo-94c95d3e52ed55ef57e60ace559b684e4d5ebcbf.tar.gz
go-94c95d3e52ed55ef57e60ace559b684e4d5ebcbf.zip
cmd/go: build test binaries with -s in addition to -w
Fixes #19753. Change-Id: Ib20a69b1d0bcc42aa9e924918bcb578d6a560a31 Reviewed-on: https://go-review.googlesource.com/38742 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/go/internal/run/run.go')
-rw-r--r--src/cmd/go/internal/run/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/run/run.go b/src/cmd/go/internal/run/run.go
index 980e160fee..6e276c28ec 100644
--- a/src/cmd/go/internal/run/run.go
+++ b/src/cmd/go/internal/run/run.go
@@ -76,7 +76,7 @@ func runRun(cmd *base.Command, args []string) {
if p.Error != nil {
base.Fatalf("%s", p.Error)
}
- p.Internal.OmitDWARF = true
+ p.Internal.OmitDebug = true
if len(p.DepsErrors) > 0 {
// Since these are errors in dependencies,
// the same error might show up multiple times,