-
Notifications
You must be signed in to change notification settings - Fork 101
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
error[E0635]: unknown feature stdsimd
#200
Comments
Facing similar issue. |
Same here on version 0.7.7, it's broken my crate's documentation build on docs.rs but works fine for me locally on Linux and MacOS, not sure why it's only broken in the docs.rs sandbox environment. Here is the build log: |
This is caused by rust-lang/rust#117372. This problem in ahash was already fixed in #183, which was released in |
Fundamentally this is caused by logic in build.rs that auto-enables a nightly feature when it detects that it is built with a nightly rustc. Such logic is fragile and prone to errors as nightly features evolve before stabilization. Crates should never automatically enable nightly features, this should generally be opt-in. If they try to do it automatically they need to be very careful and account for the fact that nightly features are not stable, and might look very different in future nightly versions. I see aHash still does the same kind of auto-detection with the |
Same for me |
If you’re on 0.8 branch → update to 0.8.7. See #188. However, I’m also picking up dependency on 0.7.7 through chain of older dependencies (borsh 0.9 → hashbrown 0.11 → ahash 0.7) which I can’t easily get rid of on my side. It’d be fantastic if we could get backport to 0.7 branch as well. I’ve commented that in #188. |
It seems that a lot of stuff depends on |
this ci action fails due to tkaitchuck/aHash#200.
this ci action fails due to tkaitchuck/aHash#200.
this ci action fails due to tkaitchuck/aHash#200.
Seems like this is breaking I was just trying to get into learning leptos, so installing all of the right versions according to the docs and trying to install trunk and cargo-leptos both runs into this bug. Console output:
Not trying to brigade the comments, I'd work on a fix but you probably don't want a Rust noop running around your repo. |
also added a way to configure the channel when building a rust toolchain, since we needed an older nightly version to build `libwasmvm` (see tkaitchuck/aHash#200)
V3_GIT_ORIGIN_REV_ID: a36abced11359755423356f8a2311ae4514978de
bump ahash dependency to 0.8.11: tkaitchuck/aHash#200
Fixes an issue with ahash <tkaitchuck/aHash#200>.
`ahash 0.7.7` uses the removed `stdsimd` feature causing the CI failure on `main`, so this PR simply updates it to `0.7.8` with `cargo update -p ahash`. See: tkaitchuck/aHash#200
`ahash 0.7.7` uses the removed `stdsimd` feature causing the CI failure on `main`, so this PR simply updates it to `0.7.8` with `cargo update -p ahash`. See: tkaitchuck/aHash#200
Fixes the `stdsimd` feature issue that is causing gh-pages action to fail. See: tkaitchuck/aHash#200
Older versions of ahash break with Rust 1.78 tkaitchuck/aHash#200
relevant issue: tkaitchuck/aHash#200 Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
unknown feature
stdsimd
: Got below after updating rust to new version rustc 1.78.0-nightly (f067fd608 2024-02-05)error[E0635]: unknown feature
stdsimd
--> C:\SYSTEM\RUST\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 errorThe text was updated successfully, but these errors were encountered: