Skip to content

Commit 1f79203

Browse files
enkoremarx
and
marx
authored
sha2: fix aarch64 implementation being disabled (#569)
Fixes #568 Co-authored-by: marx <marx@fedora>
1 parent c38787b commit 1f79203

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sha2/src/sha256.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cfg_if::cfg_if! {
66
mod soft;
77
mod x86;
88
use x86::compress;
9-
} else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] {
9+
} else if #[cfg(target_arch = "aarch64")] {
1010
mod soft;
1111
mod aarch64;
1212
use aarch64::compress;

sha2/src/sha512.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cfg_if::cfg_if! {
66
mod soft;
77
mod x86;
88
use x86::compress;
9-
} else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] {
9+
} else if #[cfg(target_arch = "aarch64")] {
1010
mod soft;
1111
mod aarch64;
1212
use aarch64::compress;

0 commit comments

Comments
 (0)