mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-07-07 20:45:01 +00:00

This extension mimics Limbo's kv_store and is used in tests to verify that Limbo and SQLite handle extensions in a compatible way.
11 lines
275 B
Rust
11 lines
275 B
Rust
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");
|
|
}
|