Skip to content

Unable to build with cargo-c #8

@khazaddum

Description

@khazaddum

Hello,

I am using this crate for FFI and now building with cargo cbuild produces an error due to dependencies on ahash:

error[E0635]: unknown feature `stdsimd`
  --> /home/khazaddum/.cargo/registry/src/github.com-1ecc6299db9ec823/ahash-0.7.6/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` due to previous error
warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }

The only way to compile is by pinning to the nightly-2024-02-04 toolchain channel.

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

    Issue actions