Skip to content

Commit

Permalink
Fix buildability on unsupported CPU architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
liushuyu committed Jan 19, 2024
1 parent d4125ea commit 136603d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ pub trait BaseGenerator {
}

#[cfg(not(any(
feature = "runtime-detection",
all(
feature = "runtime-detection",
any(target_arch = "x86_64", target_arch = "x86")
),
feature = "portable",
target_feature = "avx2",
target_feature = "sse4.2",
Expand Down

0 comments on commit 136603d

Please sign in to comment.