Skip to content

Commit

Permalink
cargo -Zcheck-cfg is now stable
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jun 11, 2024
1 parent cd2ed56 commit b595e19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,6 @@ impl<'a> Builder<'a> {
// features but cargo isn't involved in the #[path] process and so cannot pass the
// complete list of features, so for that reason we don't enable checking of
// features for std crates.
cargo.arg("-Zcheck-cfg");
if mode == Mode::Std {
rustflags.arg("--check-cfg=cfg(feature,values(any()))");
}
Expand Down

0 comments on commit b595e19

Please sign in to comment.