mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
Add test SQLite KV extension
This extension mimics Limbo's kv_store and is used in tests to verify that Limbo and SQLite handle extensions in a compatible way.
This commit is contained in:
11
testing/sqlite_test_ext/build.rs
Normal file
11
testing/sqlite_test_ext/build.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
fn main() {
|
||||
let mut build = cc::Build::new();
|
||||
build.file("src/kvstore.c");
|
||||
build.include("include");
|
||||
if !cfg!(windows) {
|
||||
build.flag("-Wno-unused-parameter");
|
||||
}
|
||||
build.compile("kvstore");
|
||||
|
||||
println!("cargo:rerun-if-changed=src/kvstore.c");
|
||||
}
|
||||
Reference in New Issue
Block a user