Skip to content

SIMD removal from rust #3269

@driemworks

Description

@driemworks

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

SIMD was removed from the latest rust nightly version rust-lang/rust#117372 which causes ahash 0.7.7 to break: tkaitchuck/aHash#200. This has been resolved in versions >= 0.8.X tkaitchuck/aHash#183.

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

Steps to reproduce

  1. Clone the polkadot-sdk master branch
  2. Update to the latest rust nightly version (as of this comment: nightly-x86_64-unknown-linux-gnu - rustc 1.78.0-nightly (8ace7ea1f 2024-02-07))
  3. Build the project
git clone https://github.com/paritytech/polkadot-sdk.git
rustup update nightly
cargo +nightly build --release

Metadata

Metadata

Assignees

No one assigned

    Labels

    I2-bugThe node fails to follow expected behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions