Skip to content

Commit 427e369

Browse files
authored
Rollup merge of #66918 - makotokato:aarch32-crc-crypto, r=petrochenkov
Add crc and crypto to target feature whitelist on arm aarch32 (ARMv8 32-bit) supports crc and crypto.
2 parents 319064f + d86d5ab commit 427e369

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_codegen_llvm/llvm_util.rs

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ const ARM_WHITELIST: &[(&str, Option<Symbol>)] = &[
108108
("rclass", Some(sym::arm_target_feature)),
109109
("dsp", Some(sym::arm_target_feature)),
110110
("neon", Some(sym::arm_target_feature)),
111+
("crc", Some(sym::arm_target_feature)),
112+
("crypto", Some(sym::arm_target_feature)),
111113
("v5te", Some(sym::arm_target_feature)),
112114
("v6", Some(sym::arm_target_feature)),
113115
("v6k", Some(sym::arm_target_feature)),

0 commit comments

Comments
 (0)