sqlite moves into the sx library: import vendors/sqlite/sqlite.sx

The amalgamation and the bindings now ship with sx itself
(sx library/vendors/sqlite/ — bindings + c/ amalgamation); every
import flips from ../src/db/sqlite.sx to vendors/sqlite/sqlite.sx,
resolved through the compiler's stdlib search paths. vendor/ and
src/db/ leave this repo entirely. make test 22/22 — the object cache
keys on content, not path, so the relocated source still hits the
existing cache entries.
This commit is contained in:
agra
2026-06-12 17:41:26 +03:00
parent 5a0d6a8aa1
commit 7ec1e10f6e
19 changed files with 26 additions and 284601 deletions

View File

@@ -1,5 +1,5 @@
// Pinned acceptance for P5.1 — the VENDORED SQLite is compiled and
// usable through src/db/sqlite.sx's `#import c` unit.
// Pinned acceptance for P5.1 — the sx-shipped SQLite (vendors/sqlite) is
// compiled and usable through its `#import c` unit.
//
// * version: sqlite3_libversion() equals the vendored amalgamation's
// version (vendor/sqlite/README.md) — a silent fallback to the OS
@@ -14,7 +14,7 @@
#import "modules/std.sx";
#import "modules/std/fs.sx";
process :: #import "modules/std/process.sx";
sq :: #import "../src/db/sqlite.sx";
sq :: #import "vendors/sqlite/sqlite.sx";
VENDORED_VERSION :: "3.53.2";
DBDIR :: ".sx-tmp/sqlite_smoke";