Skip to content

[BUG] currently nightly compiler cannot build plotters due to bug in pathfinder (simd) #554

@jonaspleyer

Description

@jonaspleyer

There is a bug in the most recent pathfinder version which currently prohibits building this package for with the newest nightly compiler. This means docs.rs will fail to build if a new version is to be published. There are multiple ways to deal with this bug:

  1. Wait until the bugfix is pushed upstream
  2. Do not build with the ttf feature (which enables the dependency). Check also docs - annotate objects who depend on features #553 which enables all features for docs.rs specifically!
  3. Try to roll back to another working version of pathfinder (I have not tested this yet).

My hope is that the bugfix is pushed upstream soon and a new version of pathfinder is released.

Error message

rustup update nightly
cargo +nightly build
error[E0635]: unknown feature `stdsimd`
  --> /home/jonas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pathfinder_simd-0.5.2/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 compile `pathfinder_simd` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions