Skip to content

Commit e8eb3f8

Browse files
committed
cpufeatures: remove AArch64 crypto target feature
It was removed from the nightly compiler in this PR: rust-lang/rust#87729 This crate attempts to provide a 1:1 mapping of CPU feature detection to rustc's own target features, so this PR accordingly removes it. Breaking change; will require a minor version bump.
1 parent f2eab3e commit e8eb3f8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cpufeatures/src/aarch64.rs

-7
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ macro_rules! __expand_check_macro {
6767
#[cfg(target_os = "linux")]
6868
__expand_check_macro! {
6969
("aes", AES), // Enable AES support.
70-
("crypto", CRYPTO), // Enable cryptographic instructions.
7170
("sha2", SHA2), // Enable SHA1 and SHA256 support.
7271
("sha3", SHA3), // Enable SHA512 and SHA3 support.
7372
}
@@ -107,9 +106,6 @@ macro_rules! check {
107106
("aes") => {
108107
true
109108
};
110-
("crypto") => {
111-
true
112-
};
113109
("sha2") => {
114110
true
115111
};
@@ -158,9 +154,6 @@ macro_rules! check {
158154
("aes") => {
159155
true
160156
};
161-
("crypto") => {
162-
true
163-
};
164157
("sha2") => {
165158
true
166159
};

0 commit comments

Comments
 (0)