mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #7889 - ehuss:fix-env_args-doc, r=Eh2406
Fix inaccurate doc comment on `env_args`.
This commit is contained in:
commit
1fa0f1b98f
@ -367,12 +367,12 @@ fn output_err_info(cmd: &ProcessBuilder, stdout: &str, stderr: &str) -> String {
|
||||
///
|
||||
/// then if this was not found
|
||||
///
|
||||
/// - `target.*.rustflags` from the manifest (Cargo.toml)
|
||||
/// - `target.cfg(..).rustflags` from the manifest
|
||||
/// - `target.*.rustflags` from the config (.cargo/config)
|
||||
/// - `target.cfg(..).rustflags` from the config
|
||||
///
|
||||
/// then if neither of these were found
|
||||
///
|
||||
/// - `build.rustflags` from the manifest
|
||||
/// - `build.rustflags` from the config
|
||||
///
|
||||
/// Note that if a `target` is specified, no args will be passed to host code (plugins, build
|
||||
/// scripts, ...), even if it is the same as the target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user