From 75fa342d5971bf8fa24b203691443ea7a7f877d4 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 16 Feb 2020 09:00:26 -0800 Subject: [PATCH] Fix inaccurate doc comment on `env_args`. --- src/cargo/core/compiler/build_context/target_info.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cargo/core/compiler/build_context/target_info.rs b/src/cargo/core/compiler/build_context/target_info.rs index cfcd3884862..6cb942a8ad8 100644 --- a/src/cargo/core/compiler/build_context/target_info.rs +++ b/src/cargo/core/compiler/build_context/target_info.rs @@ -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.