Rollup merge of #52120 - japaric:mclass, r=alexcrichton
ARM: expose the "mclass" target feature This let us differentiate, in conditional compilation context, between ARM Cortex-M targets, like the `thumbv*` targets, and other ARM targets, like the ARM Cortex-A Linux targets. r? @alexcrichton cc @gnzlbg cc rust-lang-nursery/stdsimd#437
This commit is contained in:
commit
cd7ddae695
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ unsafe fn configure_llvm(sess: &Session) {
|
||||||
// array, leading to crashes.
|
// array, leading to crashes.
|
||||||
|
|
||||||
const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
|
const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
|
||||||
|
("mclass", Some("arm_target_feature")),
|
||||||
("neon", Some("arm_target_feature")),
|
("neon", Some("arm_target_feature")),
|
||||||
("v7", Some("arm_target_feature")),
|
("v7", Some("arm_target_feature")),
|
||||||
("vfp2", Some("arm_target_feature")),
|
("vfp2", Some("arm_target_feature")),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue