mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

As we abstract aware the env variables, users can't do a good job of reporting these, so we'll do it ourselves. We could make the traits public and take and explicit `env` parameter. I figured we can wait until there is a motivating use case. `build_env` does have a fancier `Env` impl where you pass it HOST and TARGET and it automatically looks up values for those with a fallback scheme.
This crate is maintained by the Cargo team for use by the wider ecosystem. This crate follows semver compatibility for its APIs.