mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
Removed version check
This commit is contained in:
parent
297a71ffb0
commit
ca02aa67c1
@ -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.
|
/// 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> {
|
fn check_version(bindings: &PathBuf) -> Result<(), String> {
|
||||||
// Read version from Cargo.toml
|
// Read version from Cargo.toml
|
||||||
@ -50,6 +51,7 @@ fn check_version(bindings: &PathBuf) -> Result<(), String> {
|
|||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -723,6 +725,6 @@ fn main() {
|
|||||||
bindings
|
bindings
|
||||||
.write_to_file(&bindings_path)
|
.write_to_file(&bindings_path)
|
||||||
.expect("Couldn't write bindings!");
|
.expect("Couldn't write bindings!");
|
||||||
check_version(&bindings_path).unwrap();
|
// check_version(&bindings_path).unwrap();
|
||||||
make_functions(&bindings_path).unwrap();
|
make_functions(&bindings_path).unwrap();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user