fn main() -> Result<(), Box<dyn std::error::Error>> {
let bindings = bindgen::Builder::default()
.header("include/wrapper.hpp")
.clang_arg("-Iinclude")
.clang_arg("-xc++")
.generate()
.expect("Unable to generate bindings");
let out_path = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap());
bindings
.write_to_file(out_path.join("bindings.rs"))
.expect("Could not write bindings.");
Ok(())
}