We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748b777 commit 71c672bCopy full SHA for 71c672b
src/lib.rs
@@ -3718,7 +3718,7 @@ impl Build {
3718
if let Some(val) = self.env_cache.read().unwrap().get(v).cloned() {
3719
return val;
3720
}
3721
- if self.emit_rerun_if_env_changed && !provided_by_cargo(v) {
+ if self.emit_rerun_if_env_changed && !provided_by_cargo(v) && v != "PATH" {
3722
self.cargo_output
3723
.print_metadata(&format_args!("cargo:rerun-if-env-changed={}", v));
3724
0 commit comments