Skip to content

Commit 1fa0f1b

Browse files
committed
Auto merge of #7889 - ehuss:fix-env_args-doc, r=Eh2406
Fix inaccurate doc comment on `env_args`.
2 parents 1492e57 + 75fa342 commit 1fa0f1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,12 @@ fn output_err_info(cmd: &ProcessBuilder, stdout: &str, stderr: &str) -> String {
367367
///
368368
/// then if this was not found
369369
///
370-
/// - `target.*.rustflags` from the manifest (Cargo.toml)
371-
/// - `target.cfg(..).rustflags` from the manifest
370+
/// - `target.*.rustflags` from the config (.cargo/config)
371+
/// - `target.cfg(..).rustflags` from the config
372372
///
373373
/// then if neither of these were found
374374
///
375-
/// - `build.rustflags` from the manifest
375+
/// - `build.rustflags` from the config
376376
///
377377
/// Note that if a `target` is specified, no args will be passed to host code (plugins, build
378378
/// scripts, ...), even if it is the same as the target.

0 commit comments

Comments
 (0)