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

Fix: unknown feature stdsimdbuild error with ahash dependency #692

Conversation

josecelano
Copy link
Member

error[E0635]: unknown feature `stdsimd`
  --> /home/josecelano/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

   Compiling aho-corasick v1.1.2
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...

With:

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.78.0-nightly (98aa3624b 2024-02-08)
``

```
error[E0635]: unknown feature `stdsimd`
  --> /home/josecelano/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

   Compiling aho-corasick v1.1.2
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...
```

With:

```
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.78.0-nightly (98aa3624b 2024-02-08)
``
@josecelano josecelano added this to the v3.0.0 milestone Feb 12, 2024
@josecelano josecelano added the Dependencies Related to Dependencies label Feb 12, 2024
@josecelano josecelano self-assigned this Feb 12, 2024
@josecelano
Copy link
Member Author

ACK 36fcee7

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2bc2bff) 73.05% compared to head (36fcee7) 73.06%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #692   +/-   ##
========================================
  Coverage    73.05%   73.06%           
========================================
  Files          143      143           
  Lines         9164     9165    +1     
========================================
+ Hits          6695     6696    +1     
  Misses        2469     2469           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano josecelano linked an issue Feb 12, 2024 that may be closed by this pull request
@josecelano josecelano merged commit a61b1f3 into torrust:develop Feb 12, 2024
13 checks passed
@josecelano josecelano deleted the 691-error-building-with-rustc-1780-nightly-unknown-feature-stdsimd branch February 12, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Related to Dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error building with rustc 1.78.0-nightly: unknown feature stdsimd
1 participant