Browse Source

make `build.rs` faster by rerun only if `build.rs` changes

tags/v0.3.2-rc2
haixuanTao 2 years ago
parent
commit
80a79aa3a5
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      apis/c/operator/build.rs

+ 1
- 2
apis/c/operator/build.rs View File

@@ -7,6 +7,5 @@ fn main() {
// don't rebuild on changes (otherwise we rebuild on every run as we're
// writing the `operator_types.h` file; cargo will still rerun this script
// when the `dora_operator_api_types` crate changes)
println!("cargo:rerun-if-changed=../../rust/operator/types/src/lib.rs");
println!("cargo:rerun-if-changed=operator_api.h");
println!("cargo:rerun-if-changed=build.rs");
}

Loading…
Cancel
Save