From abd8cfe6fc8b43468c2144d8dbf7e59799f91e32 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Fri, 9 Jul 2021 17:27:25 -0400 Subject: [PATCH] do not run tests that need test_util unless it is enabled --- arrow/src/util/bit_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/src/util/bit_util.rs b/arrow/src/util/bit_util.rs index d046f781f053..f643d593fabd 100644 --- a/arrow/src/util/bit_util.rs +++ b/arrow/src/util/bit_util.rs @@ -125,7 +125,7 @@ where simd_result.write_to_slice_unaligned_unchecked(result); } -#[cfg(test)] +#[cfg(all(test, feature = "test_utils"))] mod tests { use std::collections::HashSet;