]> git.lizzy.rs Git - rust.git/commitdiff
Add crc and crypto to target feature whitelist on arm
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Sat, 30 Nov 2019 09:52:55 +0000 (18:52 +0900)
committerMakoto Kato <m_kato@ga2.so-net.ne.jp>
Sat, 30 Nov 2019 09:53:35 +0000 (18:53 +0900)
src/librustc_codegen_llvm/llvm_util.rs

index 290ca40926104c5cc2a2635bf4f0f595cfbbc2b2..fa7f090893ef5bd0c53926f35f217898646369d8 100644 (file)
@@ -108,6 +108,8 @@ unsafe fn configure_llvm(sess: &Session) {
     ("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)),