Use # env-dep
annotations in .d
files produced by rustc to track dependencies on environment variables
#8417
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
This will help to avoid majority of
cargo:rerun-if-env-changed=VAR
annotations in cargo build scripts and rerun builds automatically when environment variables change.This is a cargo issue for rust-lang/rust#71858.
The text was updated successfully, but these errors were encountered: