diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index a4ada290ae1f..4a166b0872df 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -325,7 +325,6 @@ pub(crate) fn target_features_cfg(sess: &Session) -> (Vec, Vec) if RUSTC_SPECIAL_FEATURES.contains(feature) { return true; } - // check that all features in a given smallvec are enabled if let Some(feat) = to_llvm_features(sess, feature) { for llvm_feature in feat { let cstr = SmallCStr::new(llvm_feature);