1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

Removed version check

This commit is contained in:
Anthony Scemama 2023-10-24 10:21:07 +02:00
parent 297a71ffb0
commit ca02aa67c1

View File

@ -11,6 +11,7 @@ use serde_json::Value;
/*
/// Checks that the version specified in the Cargo.toml file is consistent with the version of the TREXIO C library.
fn check_version(bindings: &PathBuf) -> Result<(), String> {
// Read version from Cargo.toml
@ -50,6 +51,7 @@ fn check_version(bindings: &PathBuf) -> Result<(), String> {
Ok(())
}
*/
@ -723,6 +725,6 @@ fn main() {
bindings
.write_to_file(&bindings_path)
.expect("Couldn't write bindings!");
check_version(&bindings_path).unwrap();
// check_version(&bindings_path).unwrap();
make_functions(&bindings_path).unwrap();
}