about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bc0bae9c28d..d285936e22b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -184,13 +184,11 @@ impl CodegenBackend for CraneliftCodegenBackend {
                 // rustdoc needs to be able to document functions that use all the features, so
                 // whitelist them all
                 target_features_whitelist::all_known_features()
-                    .chain(Some(("cg_clif", None)))
                     .map(|(a, b)| (a.to_string(), b))
                     .collect()
             } else {
                 target_features_whitelist::target_feature_whitelist(tcx.sess)
                     .iter()
-                    .chain(&Some(("cg_clif", None)))
                     .map(|&(a, b)| (a.to_string(), b))
                     .collect()
             }
@@ -199,7 +197,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
     fn provide_extern(&self, _providers: &mut Providers) {}
 
     fn target_features(&self, _sess: &Session) -> Vec<rustc_span::Symbol> {
-        vec![rustc_span::Symbol::intern("cg_clif")]
+        vec![]
     }
 
     fn codegen_crate<'tcx>(