0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 05:09:50 +00:00
libsql/bindings/c/build.rs
2023-10-16 09:06:25 -07:00

9 lines
211 B
Rust

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