servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile Error on nightly, unknown feature `stdsimd`

ripytide opened this issue · comments

error[E0635]: unknown feature `stdsimd`
  --> /pathfinder_simd-0.5.2/src/lib.rs:12:49
   |
12 | #![cfg_attr(pf_rustc_nightly, feature(simd_ffi, stdsimd))]
   |                                                 ^^^^^^^

This is similar to the error in the ahash crate: tkaitchuck/aHash#200

The commit removing stdsimd is rust-lang/rust@ea37e80
Relevant tracking issues? rust-lang/rust#27731 and rust-lang/rust#48556

#548 fixes this

I still get the error when trying to compile pathfinder_geometry with the pf-text feature.

https://github.com/servo/pathfinder/blob/main/geometry/Cargo.toml does not have a pf-text feature.

Could you provide a lot of the build failure that you are seeing?

Sorry, I meant pathfinder_canvas.
But using the patches described in #313 helps.
(though I still get an ugly linker error)

hmm That feature compiled file for me on stable and nightly, when building on main

I should probably re-open #313 again.
But thanks anyways :D

Will we have a new release?

Will we have a new release?

I think that's for another issue, but it doesn't look like the next release is coming soon.
This project is being SLOWLY developed and if we are lucky, there may be a commit within the next week.

This issue seems to be preventing my docs from being built on docs.rs after a publish.

Any updates on this ?

Bumping.
If the fix is pushed, can a bug fix release be pushed to crates.io ?

This is also causing my builds to fail and is deep into my dependency graphs. If I switch from nightly to stable it fixes it but I need nightly features

A new version of pathfinder_simd was published. This should be fixed now.