mirror of
https://github.com/golang/go.git
synced 2025-05-24 00:41:24 +00:00
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
See doc.go.