Don't rebuild tectonic(bin) when non-binary files are changed

This commit is contained in:
Rune Tynan 2024-03-26 13:27:53 -07:00 committed by CraftSpider
parent 5430885e58
commit 7cac7b249c
No known key found for this signature in database
GPG Key ID: AB213C4EEDFBF377
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ fn main() {
// what environment variable CARGO_TARGET_@TARGET@_RUNNER to check when
// they want to spawn off executables.
println!("cargo:rerun-if-changed=build.rs");
let target = env::var("TARGET").unwrap();
println!("cargo:rustc-env=TARGET={target}");
}