You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply cargo bench --features scalar scalar after clone results in compile error:
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 2]`
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pathfinder_simd-0.5.4/src/arm/mod.rs:348:24
|
348 | unsafe { F32x2(simd_shuffle2!(self.0, self.0, [2, 3])) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `simd_shuffle2` (in Nightly builds, run with -Z macro-backtrace for more info)
(...omitted...)
Weirdly I updated some other dependencies that were out of date and then tried compiling with rustc 1.84.0-nightly (3f1be1ec7 2024-10-28) and everything built with out errors. I was on a slightly older version of vek, but pathfinder didn't change. Could you update mathbench and check with the latest nightly?
Simply
cargo bench --features scalar scalar
after clone results in compile error:This is reported as servo/pathfinder#571, and the root causes are identified in the comments (Rust changes). There is also a temporary solution by Zed developers: servo/pathfinder@main...theoparis:pathfinder:05f19143e21a96027de7cf2d60fa47ecd8899d21 , which works for my MacBookPro M1.
A temporary workaround for mathbench-rs is to use such fixed branch, namely:
The text was updated successfully, but these errors were encountered: