You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
Build this package using go build -tags build_source with no binary version present.
What did you expect to see?
The package should have built successfully since the // +build !build_source tag in binary.go should have excluded the //go:binary-only-package directive in that same file.
What did you see instead? missing or invalid package binary for binary-only package ...
The text was updated successfully, but these errors were encountered:
joshlf
changed the title
Build constraint fails to exclude go:binary-only-package directive
go/build: build constraint fails to exclude go:binary-only-package directive
Aug 23, 2016
Please answer these questions before submitting your issue. Thanks!
go version
)?1.7
go env
)?darwin/amd64
Build this package using
go build -tags build_source
with no binary version present.The package should have built successfully since the
// +build !build_source
tag inbinary.go
should have excluded the//go:binary-only-package
directive in that same file.missing or invalid package binary for binary-only package ...
The text was updated successfully, but these errors were encountered: