linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.23k stars 95 forks source link

Nightly compilation of `piet-svg` fails. #566

Open xStrom opened 4 months ago

xStrom commented 4 months ago

It's not possible to compile piet-svg with the current nightly compiler. This also means that piet-svg can't be documented for the purposes of docs.rs.

 Documenting pathfinder_simd v0.5.1
error[E0635]: unknown feature `stdsimd`
  --> C:\Users\Strom\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pathfinder_simd-0.5.1\src\lib.rs:12:49
   |
12 | #![cfg_attr(pf_rustc_nightly, feature(simd_ffi, stdsimd))]
   |                                                 ^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not document `pathfinder_simd`

Looks like the issue might have been fixed in pathfinder#548 but there is no new release as of right now, with 0.5.2 still containing the stdsimd attribute.

Once a new release of pathfinder_simd is out, we should make sure our piet-svg dependencies mark that as minimum.