Skip to content

Commit 8794844

Browse files
committed
Prevent build.rs rerunning unnecessarily on all source changes
1 parent 0b54871 commit 8794844

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::{self, FromStr};
44

55
fn main() {
6+
println!("cargo:rerun-if-changed=build.rs");
7+
68
// Decide ideal limb width for arithmetic in the float parser. Refer to
79
// src/lexical/math.rs for where this has an effect.
810
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();

0 commit comments

Comments
 (0)