fix build errors with stdsimd
[vector-math.git] / Cargo.toml
index e1b82f35bafb78515defd7b66891324666357205..bd3fbffade2f78bb18ac1a3b3dda109de5b89c45 100644 (file)
@@ -17,7 +17,11 @@ f16 = ["half"]
 fma = ["std"]
 std = []
 ir = ["std", "typed-arena"]
-stdsimd = ["core_simd"]
+stdsimd = [
+    "core_simd",
+    # for `f32::round` and similar
+    "std",
+]
 # enable slow tests
 full_tests = []