Closed
Description
Consider the following main source file:
// +build cgo
package main
func main() {
}
$ CGO_ENABLED=0 go build .
go build hello/subtests: no buildable Go source files in /Users/jbd/src/hello/subtests
The error message is very unfriendly for the new comers. It should better say "no buildable Go sources for buildtags=%q". And the user can double check if they are setting all the build tags right or will understand that the package is not supporting their build tag combination.