1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00

Fixing cargo publish

This commit is contained in:
Anthony Scemama 2023-10-23 18:16:23 +02:00
parent 3c3c0e40be
commit 9919d4da8d

View File

@ -697,6 +697,7 @@ fn main() {
// Tell cargo to invalidate the built crate whenever the wrapper changes
println!("cargo:rerun-if-changed=wrapper.h");
make_interface().unwrap();
// The bindgen::Builder is the main entry point
// to bindgen, and lets you build up options for
// the resulting bindings.
@ -719,6 +720,5 @@ fn main() {
.write_to_file(&bindings_path)
.expect("Couldn't write bindings!");
check_version(&bindings_path).unwrap();
make_interface().unwrap();
make_functions(&bindings_path).unwrap();
}