From d86d5ab08ff42f9e5d08e880822e5e64d25792a6 Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Sat, 30 Nov 2019 18:52:55 +0900 Subject: [PATCH] Add crc and crypto to target feature whitelist on arm --- src/librustc_codegen_llvm/llvm_util.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index 290ca40926104..fa7f090893ef5 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs @@ -108,6 +108,8 @@ const ARM_WHITELIST: &[(&str, Option)] = &[ ("rclass", Some(sym::arm_target_feature)), ("dsp", Some(sym::arm_target_feature)), ("neon", Some(sym::arm_target_feature)), + ("crc", Some(sym::arm_target_feature)), + ("crypto", Some(sym::arm_target_feature)), ("v5te", Some(sym::arm_target_feature)), ("v6", Some(sym::arm_target_feature)), ("v6k", Some(sym::arm_target_feature)),