Skip to content

Commit

Permalink
Tweak lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Aug 9, 2024
1 parent 650dfd2 commit a118ccc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions kuznyechik/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ cfg_if::cfg_if!(
))] {
mod sse2;
use sse2 as imp;
} else if #[cfg(all(
target_arch = "aarch64",
target_feature = "neon",
not(kuznyechik_force_soft),
))] {
mod neon;
use neon as imp;
} else if #[cfg(kuznyechik_compact_soft)] {
mod compact_soft;
use compact_soft as imp;
} else if #[cfg(all(target_arch="aarch64",target_feature="neon",not(kuznyechik_force_soft)))]{
mod neon;
use neon as imp;
}
else {
} else {
mod big_soft;
use big_soft as imp;
}
Expand Down

0 comments on commit a118ccc

Please sign in to comment.