Skip to content

Commit 70b3681

Browse files
committed
Auto merge of #97044 - Urgau:check-cfg-fix-rustc-perf, r=Mark-Simulacrum
Fix rustc-perf benchmarks See #96984 (comment) and #96984 (comment) cc `@ehuss` `@lqd`
2 parents b36be12 + 9a4285c commit 70b3681

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/bootstrap/builder.rs

+7-3
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,13 @@ impl<'a> Builder<'a> {
11541154
// backtrace, core_simd, std_float, ...), those dependencies have their own features
11551155
// but cargo isn't involved in the #[path] and so cannot pass the complete list of
11561156
// features, so for that reason we don't enable checking of features for std.
1157-
if mode != Mode::Std {
1158-
cargo.arg("-Zcheck-cfg-features");
1159-
}
1157+
//
1158+
// FIXME: Re-enable this after the beta bump as apperently rustc-perf doesn't use the
1159+
// beta cargo. See https://github.com/rust-lang/rust/pull/96984#issuecomment-1126678773
1160+
// #[cfg(not(bootstrap))]
1161+
// if mode != Mode::Std {
1162+
// cargo.arg("-Zcheck-cfg-features"); // -Zcheck-cfg=features after bump
1163+
// }
11601164

11611165
// Enable cfg checking of well known names/values
11621166
rustflags

0 commit comments

Comments
 (0)