Commit 1ac87641 authored by Astro's avatar Astro
Browse files

l0dable: rerun-if-changed in build.rs

parent 967590b8
......@@ -37,6 +37,7 @@ fn main() {
.file("../c/epicardium/api/caller.c")
.file("src/client.c")
.compile("card10");
println!("cargo:rerun-if-changed=src/client.rs");
// Generate bindings to C code
let bindings = bindgen::Builder::default()
......@@ -52,6 +53,7 @@ fn main() {
.ctypes_prefix("super::ctypes")
.generate()
.expect("Unable to generate bindings");
println!("cargo:rerun-if-changed=src/bindings.h");
let out_path = PathBuf::from(env::var("OUT_DIR").unwrap());
bindings
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment