Skip to content

Commit fd7b674

Browse files
committed
Remove outdated option to -Zcheck-cfg warnings
1 parent fcc3786 commit fd7b674

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/compiler/custom_build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ impl BuildOutput {
803803
if extra_check_cfg {
804804
check_cfgs.push(value.to_string());
805805
} else {
806-
warnings.push(format!("cargo:{} requires -Zcheck-cfg=output flag", key));
806+
warnings.push(format!("cargo:{} requires -Zcheck-cfg flag", key));
807807
}
808808
}
809809
"rustc-env" => {

src/cargo/util/config/target.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ fn parse_links_overrides(
208208
output.check_cfgs.extend(list.iter().map(|v| v.0.clone()));
209209
} else {
210210
config.shell().warn(format!(
211-
"target config `{}.{}` requires -Zcheck-cfg=output flag",
211+
"target config `{}.{}` requires -Zcheck-cfg flag",
212212
target_key, key
213213
))?;
214214
}

0 commit comments

Comments
 (0)