We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e443c4 commit 86193caCopy full SHA for 86193ca
compiler/rustc_codegen_llvm/src/attributes.rs
@@ -153,11 +153,7 @@ pub fn llvm_target_features(sess: &Session) -> impl Iterator<Item = &str> {
153
.target_feature
154
.split(',')
155
.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())
+ sess.target.features.split(',').chain(cmdline).filter(|l| !l.is_empty())
161
}
162
163
pub fn apply_target_cpu_attr(cx: &CodegenCx<'ll, '_>, llfn: &'ll Value) {
0 commit comments