From 68c60cc311be4796467e1ae2a973cb407a497526 Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Wed, 27 Jan 2021 15:35:54 +0100 Subject: [PATCH] fix build for conditional compilation of features 'simd + avx512' --- rust/arrow/src/buffer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/arrow/src/buffer.rs b/rust/arrow/src/buffer.rs index 97f9b1f9c8d..cb716f8cc16 100644 --- a/rust/arrow/src/buffer.rs +++ b/rust/arrow/src/buffer.rs @@ -468,7 +468,7 @@ pub(super) fn buffer_bin_and( } } -#[cfg(simd)] +#[cfg(all(feature = "simd", not(feature = "avx512")))] pub(super) fn buffer_bin_and( left: &Buffer, left_offset_in_bits: usize, @@ -579,7 +579,7 @@ pub(super) fn buffer_bin_or( } } -#[cfg(simd)] +#[cfg(all(feature = "simd", not(feature = "avx512")))] pub(super) fn buffer_bin_or( left: &Buffer, left_offset_in_bits: usize,