fix build errors with stdsimd
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 10 May 2021 06:27:07 +0000 (23:27 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 10 May 2021 06:27:07 +0000 (23:27 -0700)
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 = []