From 399b31a012ba9bbf5f1dbe1dc02bfc9ad47e385b Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Thu, 15 Aug 2024 16:22:55 -0700 Subject: [PATCH] mark the AVX-512 xof_many implementation as Unix-only in platform.rs --- src/platform.rs | 1 + 1 file changed, 1 insertion(+) 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)