Skip to content

Commit fe82a37

Browse files
committed
Prevent build.rs rerunning unnecessarily on all source changes
1 parent e123d18 commit fe82a37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ use std::fs;
33
use std::path::PathBuf;
44

55
fn main() {
6+
println!("cargo:rerun-if-changed=build.rs");
7+
68
let libstdcxx = cfg!(feature = "libstdc++");
79
let libcxx = cfg!(feature = "libc++");
810
let nothing = cfg!(feature = "nothing");

0 commit comments

Comments
 (0)