0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-22 00:48:31 +00:00
Files
libsql/bindings/c/build.rs

9 lines
211 B
Rust
Raw Normal View History

2023-06-29 08:57:54 +03:00
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);
}