summary refs log tree commit diff
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2022-05-14 16:12:13 +0200
committerUrgau <urgau@numericable.fr>2022-05-14 16:18:17 +0200
commit9a4285c2c647c017a528cbb3ec5cc18558034954 (patch)
tree5bdb183fd502676453515220155c890b7f369dec
parent8019fa0dc08bb0e26d28ce29c3983408ffb2feac (diff)
downloadrust-9a4285c2c647c017a528cbb3ec5cc18558034954.tar.gz
rust-9a4285c2c647c017a528cbb3ec5cc18558034954.zip
Fix rustc-perf benchmarks
-rw-r--r--src/bootstrap/builder.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 7d838c0a61d..894d74fb269 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -1154,9 +1154,13 @@ impl<'a> Builder<'a> {
             // backtrace, core_simd, std_float, ...), those dependencies have their own features
             // but cargo isn't involved in the #[path] and so cannot pass the complete list of
             // features, so for that reason we don't enable checking of features for std.
-            if mode != Mode::Std {
-                cargo.arg("-Zcheck-cfg-features");
-            }
+            //
+            // FIXME: Re-enable this after the beta bump as apperently rustc-perf doesn't use the
+            // beta cargo. See https://github.com/rust-lang/rust/pull/96984#issuecomment-1126678773
+            // #[cfg(not(bootstrap))]
+            // if mode != Mode::Std {
+            //     cargo.arg("-Zcheck-cfg-features"); // -Zcheck-cfg=features after bump
+            // }
 
             // Enable cfg checking of well known names/values
             rustflags