Skip to content

Commit

Permalink
mark the AVX-512 xof_many implementation as Unix-only in platform.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Aug 15, 2024
1 parent bb2c530 commit 399b31a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ impl Platform {
match self {
// Safe because detect() checked for platform support.
#[cfg(blake3_avx512_ffi)]
#[cfg(unix)]
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
Platform::AVX512 => unsafe {
crate::avx512::xof_many(cv, block, block_len, counter, flags, out)
Expand Down

0 comments on commit 399b31a

Please sign in to comment.