Skip to content

Commit 0f063ae

Browse files
committed
Auto merge of #53926 - japaric:arm-features, r=alexcrichton
whitelist some ARM features required for rust-lang/stdarch#557 r? @gnzlbg or @alexcrichton
2 parents cd5c26f + bac0eb2 commit 0f063ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustc_codegen_llvm/llvm_util.rs

+4
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,14 @@ unsafe fn configure_llvm(sess: &Session) {
8686
// array, leading to crashes.
8787

8888
const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
89+
("aclass", Some("arm_target_feature")),
8990
("mclass", Some("arm_target_feature")),
9091
("rclass", Some("arm_target_feature")),
9192
("dsp", Some("arm_target_feature")),
9293
("neon", Some("arm_target_feature")),
94+
("v5te", Some("arm_target_feature")),
95+
("v6k", Some("arm_target_feature")),
96+
("v6t2", Some("arm_target_feature")),
9397
("v7", Some("arm_target_feature")),
9498
("vfp2", Some("arm_target_feature")),
9599
("vfp3", Some("arm_target_feature")),

0 commit comments

Comments
 (0)