Files
turso/sqlite3/build.rs
Pekka Enberg f5cc3a08f0 Initial pass on SQLite C ABI
This adds initial SQLite C ABI compatibility to Limbo to make sure we
drive the Rust API in the right way that allows us to implement SQLite
semantics.
2024-05-08 07:05:56 -03:00

9 lines
212 B
Rust

use std::path::Path;
fn main() {
let header_file = Path::new("include").join("sqlite3.h");
cbindgen::generate(".")
.expect("Failed to generate C bindings")
.write_to_file(header_file);
}