Ways of making it CGO free #24
lispyclouds
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of now the sqlite lib we use needs CGO_ENABLED="1" and that causes us to care about the OS it builds on, how to run tests and actually see if this all works in every target OS.
This tracks ways of making it CGO free and eliminate these issues if/when the need arises.
Using https://gitlab.com/cznic/sqlite
This seems to be the most widely used non CGO lib and claims to be fully SQLite spec complaint and passing all their tests
Patch:
This passes all our tests. We need to run
go mod tidy
to reconcile all the deps when adding this and will bump up the min Go version to1.21
.Beta Was this translation helpful? Give feedback.
All reactions