about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Gemmell <adam.gemmell@arm.com>2021-06-01 17:00:19 +0100
committerAdam Gemmell <adam.gemmell@arm.com>2021-08-03 12:07:56 +0000
commit3be9261048854ce5b558b5edc45c2756f0a1a0dd (patch)
treec7d968efb13ecb198440e8d4cf67b8a8fd84e497
parentf9b168fdd8ad0fa846a124750de5953fa7390ea1 (diff)
downloadrust-3be9261048854ce5b558b5edc45c2756f0a1a0dd.tar.gz
rust-3be9261048854ce5b558b5edc45c2756f0a1a0dd.zip
Remove crypto composite feature from allowed aarch64 features.
Prefer using AES/SHA2 features directly.
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index c89d42ecc58..8d7e9612f47 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -47,8 +47,6 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("sve", Some(sym::aarch64_target_feature)),
     // FEAT_CRC
     ("crc", Some(sym::aarch64_target_feature)),
-    // Cryptographic extension
-    ("crypto", Some(sym::aarch64_target_feature)),
     // FEAT_RAS
     ("ras", Some(sym::aarch64_target_feature)),
     // FEAT_LSE