From f5b94a97cf49a5f389e30cf64ad8ba7dd6650ac2 Mon Sep 17 00:00:00 2001 From: Kor Nielsen Date: Fri, 1 Sep 2023 12:26:42 -0700 Subject: [PATCH] Remove rerun-if-changed lines from cpu/build.rs (#716) These aren't necessary, and are causing this package and depedents to be re-built every time cargo is invoked (since build.rs writes link.x). --- cpu/build.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpu/build.rs b/cpu/build.rs index 16a7568522..a51dff2928 100644 --- a/cpu/build.rs +++ b/cpu/build.rs @@ -123,7 +123,4 @@ fn main() { ) .unwrap(); println!("cargo:rustc-link-search={}", out_dir.display()); - - println!("cargo:rerun-if-changed=link.x"); - println!("cargo:rerun-if-changed=build.rs"); }