Skip to content

Commit 21d6e9f

Browse files
committed
Only rerun build script if build script changes
Avoids unnecessary rebuilds when locally developing the crate.
1 parent d1ad4fc commit 21d6e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
fn main() {
2+
println!("cargo:rerun-if-changed=build.rs");
23
let nightly = std::env::var_os("CARGO_FEATURE_NIGHTLY").is_some();
34
let has_stable_alloc = || autocfg::new().probe_rustc_version(1, 36);
45

0 commit comments

Comments
 (0)