Open penberg opened 6 months ago
I'm looking into this. I think the best approach is to ditch the whole amalgamation thing and merge both sqlite3 and sqlite3mc in the same repo, then toggle the later with a flag as needed (I think there already is one, not sure). I'm currently exploring the use of Zig's build system, but adding this as a dependency might be undesirable.
We currently build sqlite3mc by invoking its
cmake
-based build, which makes the build more complicated, especially when cross-compiling. Let's look into switching to using thecc
crate fromlibsql-ffi/build.rs
instead to simplify the build.