mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-15 04:29:30 +00:00
This reverts commit 3fce53f663a3996938dddf77680854570063ca21, reversing changes made to e7b42a5177641455a8917bd2e29db20afd9690e5.
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");
|
|
}
|