ferrumfix icon indicating copy to clipboard operation
ferrumfix copied to clipboard

stdsimd feature removed

Open a1ecbr0wn opened this issue 1 year ago • 1 comments

Describe the bug The stdsimd feature has been removed in the latest nightly builds. This will soon transition to stable. fefix is unable to build on nightly because it has a dependency on an old version of sqlx, which in turn has an old version of ahash as a dependency.

To Reproduce Steps to reproduce the behavior:

  1. create a project using ferrumfix, version = "0.7.0"
  2. rustup override set nightly
  3. cargo clippy
  4. See error
error[E0635]: unknown feature `stdsimd`
  --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.6/src/lib.rs:99:42
   |
99 | #![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...

Expected behavior Build completes without error.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux

Additional context I can see that you have removed this dependency in the HEAD, could you please release a new build? Alternatively, could do an update based on the 0.7.0 tag that uses ahash v0.7.8

a1ecbr0wn avatar Feb 26 '24 16:02 a1ecbr0wn

Thanks for the report, I will release 0.7.1 and tag you when it's ready.

neysofu avatar Feb 26 '24 16:02 neysofu