mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
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.
9 lines
212 B
Rust
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);
|
|
}
|