Skip to content

Commit

Permalink
Merge pull request #398 from AquaEBM/avx512-feature-flag
Browse files Browse the repository at this point in the history
fix build error on AVX-512
  • Loading branch information
calebzulawski authored Feb 23, 2024
2 parents 94f4f68 + 18de239 commit fbc9efa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/core_simd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
any(target_arch = "powerpc", target_arch = "powerpc64"),
feature(stdarch_powerpc)
)]
#![cfg_attr(
all(target_arch = "x86_64", target_feature = "avx512f"),
feature(stdarch_x86_avx512)
)]
#![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really
#![deny(unsafe_op_in_unsafe_fn, clippy::undocumented_unsafe_blocks)]
#![allow(internal_features)]
Expand Down

0 comments on commit fbc9efa

Please sign in to comment.