Files
JJTech c8a280e54c Use cbindgen library instead of CLI (#2)
* add cbindgen to build dependencies

* use cbindgen rust-style rather then via command

* comment out doc length line which causes error

Couldn't parse config file: unknown field `documentation_length`
2022-11-28 18:02:08 -07:00

12 lines
240 B
Rust

// Jackson Coxson
use std::env;
use cbindgen;
fn main() {
let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
cbindgen::generate(crate_dir)
.expect("Unable to generate C bindings")
.write_to_file("em_proxy.h");
}