Skip to content

Commit

Permalink
cpufeatures: remove AArch64 crypto target feature (#594)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tarcieri committed Aug 26, 2021
1 parent ec03920 commit d5065ad
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cpufeatures/src/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ macro_rules! __expand_check_macro {
#[cfg(target_os = "linux")]
__expand_check_macro! {
("aes", AES), // Enable AES support.
("crypto", CRYPTO), // Enable cryptographic instructions.
("sha2", SHA2), // Enable SHA1 and SHA256 support.
("sha3", SHA3), // Enable SHA512 and SHA3 support.
}
Expand Down Expand Up @@ -107,9 +106,6 @@ macro_rules! check {
("aes") => {
true
};
("crypto") => {
true
};
("sha2") => {
true
};
Expand Down Expand Up @@ -158,9 +154,6 @@ macro_rules! check {
("aes") => {
true
};
("crypto") => {
true
};
("sha2") => {
true
};
Expand Down

0 comments on commit d5065ad

Please sign in to comment.