Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Error on nightly, unknown feature stdsimd #550

Closed
ripytide opened this issue Feb 8, 2024 · 14 comments
Closed

Compile Error on nightly, unknown feature stdsimd #550

ripytide opened this issue Feb 8, 2024 · 14 comments

Comments

@ripytide
Copy link

ripytide commented Feb 8, 2024

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

@jayvdb
Copy link
Contributor

jayvdb commented Feb 8, 2024

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

@jayvdb
Copy link
Contributor

jayvdb commented Feb 8, 2024

#548 fixes this

MultisampledNight added a commit to MultisampledNight/configs that referenced this issue Feb 13, 2024
pathfinder_simd uses a nightly feature that changed recently,
and as such fails to compile on nightly.
See

plotters-rs/plotters#548
servo/font-kit#233
servo/pathfinder#550
@DraftedDev
Copy link

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

@jayvdb
Copy link
Contributor

jayvdb commented Feb 14, 2024

https:/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?

@DraftedDev
Copy link

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

@jayvdb
Copy link
Contributor

jayvdb commented Feb 14, 2024

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

@DraftedDev
Copy link

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

@attila-lin
Copy link

Will we have a new release?

@DraftedDev
Copy link

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.

@avhz
Copy link

avhz commented Feb 25, 2024

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

@avhz
Copy link

avhz commented Mar 4, 2024

Any updates on this ?

@avhz
Copy link

avhz commented Mar 15, 2024

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

@aujxn
Copy link

aujxn commented Apr 4, 2024

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

@atouchet
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants