]> Cypherpunks repositories - gostls13.git/commit
misc/goplay: use `go run x.go` instead of `go build x.go`
authorChaiShushan <chaishushan@gmail.com>
Thu, 11 Jul 2013 23:41:10 +0000 (09:41 +1000)
committerAndrew Gerrand <adg@golang.org>
Thu, 11 Jul 2013 23:41:10 +0000 (09:41 +1000)
commit8529d99e1d447e930a1172e5f30fe6c1f46922e6
tree00fed80eaf1d7d8a6979ca689112771cae39e0d9
parent63f54ae3c25735aa8558f0f2d281032b46f45a53
misc/goplay: use `go run x.go` instead of `go build x.go`

when the program is not main package, `go run x.go` can't return the
link error message. so use `go run x.go` in instead `go build x.go`.

Fixes #5865.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/11165043
misc/goplay/goplay.go