Skip to content

Commit 86193ca

Browse files
committed
fixed a re-format due to removed chain call
1 parent 7e443c4 commit 86193ca

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/rustc_codegen_llvm/src/attributes.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,7 @@ pub fn llvm_target_features(sess: &Session) -> impl Iterator<Item = &str> {
153153
.target_feature
154154
.split(',')
155155
.filter(|f| !RUSTC_SPECIFIC_FEATURES.iter().any(|s| f.contains(s)));
156-
sess.target
157-
.features
158-
.split(',')
159-
.chain(cmdline)
160-
.filter(|l| !l.is_empty())
156+
sess.target.features.split(',').chain(cmdline).filter(|l| !l.is_empty())
161157
}
162158

163159
pub fn apply_target_cpu_attr(cx: &CodegenCx<'ll, '_>, llfn: &'ll Value) {

0 commit comments

Comments
 (0)