mirror of
				https://github.com/tursodatabase/libsql.git
				synced 2025-11-04 05:58:57 +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);
 | 
						|
}
 |