Skip to content

Commit

Permalink
Auto merge of #53926 - japaric:arm-features, r=alexcrichton
Browse files Browse the repository at this point in the history
whitelist some ARM features

required for rust-lang/stdarch#557

r? @gnzlbg or @alexcrichton
  • Loading branch information
bors committed Sep 3, 2018
2 parents cd5c26f + bac0eb2 commit 0f063ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustc_codegen_llvm/llvm_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit 0f063ae

Please sign in to comment.