forked from mirror/go-sqlcipher
Make Go 1.7 fail compilation
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
This commit is contained in:
parent
b5c99a7203
commit
98981b4a3b