From 6bce2b81986a1a8da930c11b9b9d907a792b3f61 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Wed, 13 Feb 2019 22:29:27 +0100 Subject: [PATCH 1/2] Whitelist the ARM v6 target-feature --- src/librustc_codegen_llvm/llvm_util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index b46e6ef84b98b..9fe0a4c45f9f4 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs @@ -100,6 +100,7 @@ const ARM_WHITELIST: &[(&str, Option<&str>)] = &[ ("dsp", Some("arm_target_feature")), ("neon", Some("arm_target_feature")), ("v5te", Some("arm_target_feature")), + ("v6", Some("arm_target_feature")), ("v6k", Some("arm_target_feature")), ("v6t2", Some("arm_target_feature")), ("v7", Some("arm_target_feature")), From 1d6ce5228efe0d69f57c02f36ee27e1f9bd89616 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 14 Feb 2019 22:00:33 +0100 Subject: [PATCH 2/2] Whitelist the ARM v8 target-feature --- src/librustc_codegen_llvm/llvm_util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index 9fe0a4c45f9f4..ecca45a4d4281 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs @@ -104,6 +104,7 @@ const ARM_WHITELIST: &[(&str, Option<&str>)] = &[ ("v6k", Some("arm_target_feature")), ("v6t2", Some("arm_target_feature")), ("v7", Some("arm_target_feature")), + ("v8", Some("arm_target_feature")), ("vfp2", Some("arm_target_feature")), ("vfp3", Some("arm_target_feature")), ("vfp4", Some("arm_target_feature")),