Skip to content

Commit

Permalink
sha2: fix aarch64 implementation being disabled (#569)
Browse files Browse the repository at this point in the history
Fixes #568

Co-authored-by: marx <marx@fedora>
  • Loading branch information
enkore and marx authored Mar 12, 2024
1 parent c38787b commit 1f79203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sha2/src/sha256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cfg_if::cfg_if! {
mod soft;
mod x86;
use x86::compress;
} else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] {
} else if #[cfg(target_arch = "aarch64")] {
mod soft;
mod aarch64;
use aarch64::compress;
Expand Down
2 changes: 1 addition & 1 deletion sha2/src/sha512.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cfg_if::cfg_if! {
mod soft;
mod x86;
use x86::compress;
} else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] {
} else if #[cfg(target_arch = "aarch64")] {
mod soft;
mod aarch64;
use aarch64::compress;
Expand Down

0 comments on commit 1f79203

Please sign in to comment.