Skip to content

Commit d28a23b

Browse files
committed
Prevent build.rs rerunning unnecessarily on all source changes
1 parent 05316ff commit d28a23b

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::process::Command;
33
use std::str;
44

55
fn main() {
6+
println!("cargo:rerun-if-changed=build.rs");
7+
68
let compiler = match rustc_minor_version() {
79
Some(compiler) => compiler,
810
None => return,

0 commit comments

Comments
 (0)