Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The package is useless without cgo, but Go 1.7 will happily build it since doc.go is a pure-Go file, even if CGO_ENABLED=0, like when cross-compiling. This is particularly problematic since the package is usually imported for its side effects, and users would successfully build a broken binary. Workaround golang/go#16981
- Loading branch information