You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation has been updated along the way to include more hints about environment variables. The --target flag at https://doc.rust-lang.org/cargo/commands/cargo-build.html mentions it. The cargo-build man page also has an Environment section which links to the reference. Embedding more detailed help in the built-in help output is tracked in #6104, so I'm going to close in favor of that for future improvements.
According to the Cargo docs on crates.io,
cargo build
will be influenced by e.g.CARGO_TARGET_DIR
, butcargo help
does not document this.Furthermore, the Cargo guide does not link to the documentation of the environment variables, which makes this feature rather hard to find.
The text was updated successfully, but these errors were encountered: