We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc3786 commit fd7b674Copy full SHA for fd7b674
src/cargo/core/compiler/custom_build.rs
@@ -803,7 +803,7 @@ impl BuildOutput {
803
if extra_check_cfg {
804
check_cfgs.push(value.to_string());
805
} else {
806
- warnings.push(format!("cargo:{} requires -Zcheck-cfg=output flag", key));
+ warnings.push(format!("cargo:{} requires -Zcheck-cfg flag", key));
807
}
808
809
"rustc-env" => {
src/cargo/util/config/target.rs
@@ -208,7 +208,7 @@ fn parse_links_overrides(
208
output.check_cfgs.extend(list.iter().map(|v| v.0.clone()));
209
210
config.shell().warn(format!(
211
- "target config `{}.{}` requires -Zcheck-cfg=output flag",
+ "target config `{}.{}` requires -Zcheck-cfg flag",
212
target_key, key
213
))?;
214
0 commit comments