Skip to content

Commit 0703e98

Browse files
committed
Remove cg_clif fake target feature
1 parent 3d46a30 commit 0703e98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,11 @@ impl CodegenBackend for CraneliftCodegenBackend {
184184
// rustdoc needs to be able to document functions that use all the features, so
185185
// whitelist them all
186186
target_features_whitelist::all_known_features()
187-
.chain(Some(("cg_clif", None)))
188187
.map(|(a, b)| (a.to_string(), b))
189188
.collect()
190189
} else {
191190
target_features_whitelist::target_feature_whitelist(tcx.sess)
192191
.iter()
193-
.chain(&Some(("cg_clif", None)))
194192
.map(|&(a, b)| (a.to_string(), b))
195193
.collect()
196194
}
@@ -199,7 +197,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
199197
fn provide_extern(&self, _providers: &mut Providers) {}
200198

201199
fn target_features(&self, _sess: &Session) -> Vec<rustc_span::Symbol> {
202-
vec![rustc_span::Symbol::intern("cg_clif")]
200+
vec![]
203201
}
204202

205203
fn codegen_crate<'tcx>(

0 commit comments

Comments
 (0)