12 lines
380 B
Rust
Executable file
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");
|
|
}
|