Skip to content

Commit

Permalink
Enable stdarch_x86_avx512 for cpu has avx512bw (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
serendipity-crypto authored Jan 14, 2025
1 parent b4b1eb7 commit 34da321
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
#![no_std]
#![cfg_attr(feature = "simd_support", feature(portable_simd))]
#![cfg_attr(
all(feature = "simd_support", target_feature = "avx512bw"),
feature(stdarch_x86_avx512)
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![allow(
clippy::float_cmp,
Expand Down

0 comments on commit 34da321

Please sign in to comment.