Skip to content

Commit

Permalink
chore: use avx512 x86 feature only behind a crate avx512 feature (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo authored Mar 12, 2024
1 parent 3a7d576 commit 6930f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fields/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(stdarch_x86_avx512)]
#![cfg_attr(feature = "avx512", feature(stdarch_x86_avx512))]
//#![cfg_attr(feature = "avx512", feature(stdsimd))]
extern crate rand;

Expand Down
2 changes: 1 addition & 1 deletion starky/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![allow(dead_code)]
#![allow(clippy::type_complexity)]
#![allow(clippy::too_many_arguments)]
#![feature(stdarch_x86_avx512)]
#![cfg_attr(feature = "avx512", feature(stdarch_x86_avx512))]

pub mod polsarray;
pub mod polutils;
Expand Down

0 comments on commit 6930f19

Please sign in to comment.