Auto merge of #53926 - japaric:arm-features, r=alexcrichton

whitelist some ARM features

required for rust-lang-nursery/stdsimd#557

r? @gnzlbg or @alexcrichton
This commit is contained in:
bors 2018-09-03 20:59:09 +00:00
commit 0f063aef62

View File

@ -86,10 +86,14 @@ unsafe fn configure_llvm(sess: &Session) {
// array, leading to crashes.
const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
("aclass", Some("arm_target_feature")),
("mclass", Some("arm_target_feature")),
("rclass", Some("arm_target_feature")),
("dsp", Some("arm_target_feature")),
("neon", Some("arm_target_feature")),
("v5te", Some("arm_target_feature")),
("v6k", Some("arm_target_feature")),
("v6t2", Some("arm_target_feature")),
("v7", Some("arm_target_feature")),
("vfp2", Some("arm_target_feature")),
("vfp3", Some("arm_target_feature")),