rewrote all bindings, removed dependency on binding generation

This commit is contained in:
Jean-Philippe Bossuat
2025-01-30 17:34:57 +01:00
parent a7af4d6d1f
commit d3a8d20647
25 changed files with 1040 additions and 189 deletions

View File

@@ -1,11 +1,16 @@
use bindgen;
use std::env;
use std::fs;
//use bindgen;
//use std::env;
//use std::fs;
use std::path::absolute;
use std::path::PathBuf;
use std::time::SystemTime;
//use std::path::PathBuf;
//use std::time::SystemTime;
fn main() {
/*
[build-dependencies]
bindgen ="0.71.1"
// Path to the C header file
let header_paths: [&str; 2] = [
"spqlios-arithmetic/spqlios/coeffs/coeffs_arithmetic.h",
@@ -43,6 +48,7 @@ fn main() {
.write_to_file(&bindings_file)
.expect("Couldn't write bindings!");
}
*/
println!(
"cargo:rustc-link-search=native={}",