From f776cc18c628ccfa5b1524e4fcaca4b4ea0217a4 Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Tue, 4 Jan 2022 17:12:49 -0800 Subject: [PATCH] Minimize ctru-sys build script churn --- ctru-sys/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctru-sys/build.rs b/ctru-sys/build.rs index 7464b18..c31c56b 100644 --- a/ctru-sys/build.rs +++ b/ctru-sys/build.rs @@ -4,6 +4,8 @@ fn main() { let dkp_path = env::var("DEVKITPRO").unwrap(); let profile = env::var("PROFILE").unwrap(); + println!("cargo:rerun-if-changed=build.rs"); + println!("cargo:rerun-if-env-changed=DEVKITPRO"); println!("cargo:rustc-link-search=native={}/libctru/lib", dkp_path); println!( "cargo:rustc-link-lib=static={}",