From 8794844eee024c816aa803d1c4776d1031247820 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 12 Dec 2022 14:37:41 -0800 Subject: [PATCH] Prevent build.rs rerunning unnecessarily on all source changes --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index e9ec7d56a..0e12602e4 100644 --- a/build.rs +++ b/build.rs @@ -3,6 +3,8 @@ use std::process::Command; use std::str::{self, FromStr}; fn main() { + println!("cargo:rerun-if-changed=build.rs"); + // Decide ideal limb width for arithmetic in the float parser. Refer to // src/lexical/math.rs for where this has an effect. let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();