aboutsummaryrefslogtreecommitdiff
path: root/src/bool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bool.rs')
-rw-r--r--src/bool.rs28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/bool.rs b/src/bool.rs
index 889a0ed..c3cbb9f 100644
--- a/src/bool.rs
+++ b/src/bool.rs
@@ -17,12 +17,14 @@ mod sse2;
))]
mod wasm32;
-#[cfg(not(any(
- feature = "scalar-math",
- feature = "core-simd",
- target_feature = "sse2",
- target_feature = "simd128"
-),))]
+#[cfg(any(
+ not(any(
+ feature = "core-simd",
+ target_feature = "sse2",
+ target_feature = "simd128"
+ )),
+ feature = "scalar-math"
+))]
mod scalar;
pub use bvec2::BVec2;
@@ -56,12 +58,14 @@ pub use coresimd::bvec3a::BVec3A;
#[cfg(all(feature = "core-simd", not(feature = "scalar-math")))]
pub use coresimd::bvec4a::BVec4A;
-#[cfg(not(any(
- feature = "scalar-math",
- feature = "core-simd",
- target_feature = "sse2",
- target_feature = "simd128"
-),))]
+#[cfg(any(
+ not(any(
+ feature = "core-simd",
+ target_feature = "sse2",
+ target_feature = "simd128"
+ )),
+ feature = "scalar-math"
+))]
pub use scalar::bvec3a::BVec3A;
#[cfg(not(any(