mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 05:09:50 +00:00
9 lines
211 B
Rust
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);
|
|
}
|