summaryrefslogtreecommitdiff
path: root/c.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-08-14require SQLite >= 3.21.0Gravatar Vincent Rischmann1-0/+11
After some testing it turns out we need at least SQLite 3.21.0 to compile. We _could_ work around this and make zig-sqlite work with older SQLite versions but I don't think it's necessary because: * "old" distributions like Debian Buster, RHEL 8 ship with SQLite > 3.21.0 * in any case if people want to build for OSes where SQLite is too old they can use the bundled source code.
2022-08-04use a single cImportGravatar Vincent Rischmann1-0/+3
Two cImport calls generate incompatible code: we can't use the structs generated in sqlite.zig in functions in errors.zig for example Up until now it wasn't actually a problem since in errors.zig we only ever used constants which does work, but now we want to introduce functions in this file.