Skip to content

Compile Error on nightly, unknown feature stdsimd #550

Closed
@ripytide

Description

@ripytide
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

Activity

jayvdb

jayvdb commented on Feb 8, 2024

@jayvdb
Contributor

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

jayvdb

jayvdb commented on Feb 8, 2024

@jayvdb
Contributor

#548 fixes this

DraftedDev

DraftedDev commented on Feb 14, 2024

@DraftedDev

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

jayvdb

jayvdb commented on Feb 14, 2024

@jayvdb
Contributor

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?

DraftedDev

DraftedDev commented on Feb 14, 2024

@DraftedDev

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

jayvdb

jayvdb commented on Feb 14, 2024

@jayvdb
Contributor

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

DraftedDev

DraftedDev commented on Feb 14, 2024

@DraftedDev

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

attila-lin

attila-lin commented on Feb 22, 2024

@attila-lin

Will we have a new release?

DraftedDev

DraftedDev commented on Feb 22, 2024

@DraftedDev

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

avhz commented on Feb 25, 2024

@avhz

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

avhz

avhz commented on Mar 4, 2024

@avhz

Any updates on this ?

avhz

avhz commented on Mar 15, 2024

@avhz

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

aujxn

aujxn commented on Apr 4, 2024

@aujxn

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

atouchet commented on Apr 12, 2024

@atouchet
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jayvdb@attila-lin@atouchet@aujxn@ripytide

        Issue actions

          Compile Error on nightly, unknown feature `stdsimd` · Issue #550 · servo/pathfinder