nucleo-l053r8-benches/crates/algorithms/build.rs
2025-07-10 17:31:22 +02:00

12 lines
380 B
Rust
Executable file

fn main() {
let status = std::process::Command::new("ceedling")
.arg("release")
.current_dir("./algorithms-c/")
.status()
.expect("could not make c stuff");
if !status.success() {
panic!("make returned an error")
}
println!("cargo::rerun-if-changed=./algorithms-c/src/");
println!("cargo::rustc-link-lib=algorithms");
}