diff options
| author | 2022-08-13 23:23:39 +0200 | |
|---|---|---|
| committer | 2022-08-14 00:48:40 +0200 | |
| commit | 0c7f6f3944b16b279523623d5d2ff8058173ca25 (patch) | |
| tree | d0b38432cba2a7bfacf5334d6426e9f2ce6d5da5 /errors.zig | |
| parent | ci: only run the workflow on a push to master (diff) | |
| download | zig-sqlite-0c7f6f3944b16b279523623d5d2ff8058173ca25.tar.gz zig-sqlite-0c7f6f3944b16b279523623d5d2ff8058173ca25.tar.xz zig-sqlite-0c7f6f3944b16b279523623d5d2ff8058173ca25.zip | |
require SQLite >= 3.21.0
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.
Diffstat (limited to '')
| -rw-r--r-- | errors.zig | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -2,8 +2,7 @@ const std = @import("std"); | |||
| 2 | const mem = std.mem; | 2 | const mem = std.mem; |
| 3 | 3 | ||
| 4 | const c = @import("c.zig").c; | 4 | const c = @import("c.zig").c; |
| 5 | 5 | const versionGreaterThanOrEqualTo = @import("c.zig").versionGreaterThanOrEqualTo; | |
| 6 | const versionGreaterThanOrEqualTo = @import("sqlite.zig").versionGreaterThanOrEqualTo; | ||
| 7 | 6 | ||
| 8 | pub const SQLiteExtendedIOError = error{ | 7 | pub const SQLiteExtendedIOError = error{ |
| 9 | SQLiteIOErrRead, | 8 | SQLiteIOErrRead, |