diff --git a/src/platform.rs b/src/platform.rs index 1858addc4..6e4ae2592 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -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)