Open utensil opened 2 days ago
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?
I've bumped my nightly to
nightly-aarch64-apple-darwin updated - rustc 1.84.0-nightly (3f1be1ec7 2024-10-28) (from rustc 1.84.0-nightly (27861c429 2024-10-13))
and use your new cargo.toml, the compilation error for pathfinder is the same.
Rereading related issues, this issue applies to aarch64, both stable and 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: https://github.com/servo/pathfinder/compare/main...theoparis:pathfinder:05f19143e21a96027de7cf2d60fa47ecd8899d21 , which works for my MacBookPro M1.
A temporary workaround for mathbench-rs is to use such fixed branch, namely: