whitelist some ARM features

This commit is contained in:
Jorge Aparicio 2018-09-03 16:52:43 +02:00
parent 591a17d3d9
commit bac0eb2f37

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")),