servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.52k stars 198 forks source link

pathfinder_simd failed to compile with nightly toolchain on Apple M1 MBP #541

Closed mhfan closed 10 months ago

mhfan commented 10 months ago

$ cd pathfind/simd $ cargo +nightly b

...

   Compiling pathfinder_simd v0.5.1 (/Users/mhfan/Devel/blend2d/resvg/lottie-rs/pathfinder/simd)
error: unrecognized platform-specific intrinsic function: `simd_shuffle2`
   --> simd/src/arm/mod.rs:887:5
    |
887 |     fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: `simd_shuffle4`
   --> simd/src/arm/mod.rs:888:5
    |
888 |     fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `pathfinder_simd` (lib) due to 2 previous errors

image