g3
g3 copied to clipboard
Build errors on macos - unresolved simd imports
Hi, running the examples on macOS (Metal M1) produces a bunch of errors starting with:
cargo run --example ball --release +nightly
error[E0432]: unresolved import `std::simd::SimdFloat`
--> src/point.rs:1:80
|
1 | use std::{fmt::{Display, Formatter, Result},simd::{f32x4,mask32x4,simd_swizzle,SimdFloat},mem::transmute,ops::{Add,AddAssign,Sub,SubAssign,Mul,MulAssign,...
| ^^^^^^^^^
| |
| no `SimdFloat` in `simd`
| help: a similar name exists in the module: `StdFloat`
|
= help: consider importing one of these items instead:
core::simd::prelude::SimdFloat
std::simd::prelude::SimdFloat
Any idea what's causing this?