mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-08 17:19:45 +00:00
13 lines
349 B
Rust
13 lines
349 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
|
|
println!("cargo:rerun-if-changed=src/");
|
|
cbindgen::Builder::new()
|
|
.with_crate(crate_dir)
|
|
.with_language(cbindgen::Language::C)
|
|
.generate()
|
|
.expect("Unable to generate bindings")
|
|
.write_to_file("indexer_ffi.h");
|
|
}
|