-
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
compile error: use of unstable library feature 'stdsimd' #195
Comments
These functions are stable, are you using an older version of rustc? |
Oh right, I didn't think to check that. I'm on 1.71.1. Would it be possible to set the required minimum version with the rust-version field in the Cargo.toml? That should provide a nice error message in this case. |
This was stabilized in 1.72. |
Proposed fix #196 |
The recent ahash release 0.8.7 started using the library feature 'stdsimd' which was not stabilized until Rust 1.72 for aarch64 and will cause an issue when building for aarch64 on (see tkaitchuck/aHash#195 for more details) with our MSRV which was 1.64 and was just raised to 1.70 in Qiskit#11493. This isn't caught in CI because we don't have any aarch64 environments to test with. As 1.72 is fairly recent < 6 months old as of this commit. This just opts to pin the ahash version used to one that is compatible with our MSRV on all supported platforms.
The recent ahash release 0.8.7 started using the library feature 'stdsimd' which was not stabilized until Rust 1.72 for aarch64 and will cause an issue when building for aarch64 on (see tkaitchuck/aHash#195 for more details) with our MSRV which was 1.64 and was just raised to 1.70 in Qiskit#11493. This isn't caught in CI because we don't have any aarch64 environments to test with. As 1.72 is fairly recent < 6 months old as of this commit. This just opts to pin the ahash version used to one that is compatible with our MSRV on all supported platforms.
The recent ahash release 0.8.7 started using the library feature 'stdsimd' which was not stabilized until Rust 1.72 for aarch64 and will cause an issue when building for aarch64 on (see tkaitchuck/aHash#195 for more details) with our MSRV which was 1.64 and was just raised to 1.70 in #11493. This isn't caught in CI because we don't have any aarch64 environments to test with. As 1.72 is fairly recent < 6 months old as of this commit. This just opts to pin the ahash version used to one that is compatible with our MSRV on all supported platforms.
I am attempting to expand the presubmit checks to cover this #197 |
I left a suggestion: #197 (comment) |
@Anton-4 Can you clearify, you saw this when targeting |
For datafusion, the issue came from apache/datafusion#8743 Tagging @Ted-Jiang who reproduced the issue An example of the dependency datafusion has:
|
Yes indeed, I'll set up a minimal github repo with a full reproduction. |
Files for minimal repro:
run with |
The recent ahash release 0.8.7 started using the library feature 'stdsimd' which was not stabilized until Rust 1.72 for aarch64 and will cause an issue when building for aarch64 on (see tkaitchuck/aHash#195 for more details) with our MSRV which was 1.64 and was just raised to 1.70 in Qiskit#11493. This isn't caught in CI because we don't have any aarch64 environments to test with. As 1.72 is fairly recent < 6 months old as of this commit. This just opts to pin the ahash version used to one that is compatible with our MSRV on all supported platforms.
FWIW, I'm running into this too (when trying to upgrade ahash in hickory-dns on my M1 with Rust 1.67). |
Also fixed the warnings exposed by the newer rustc This was motivated by an error only seen for apple targets: tkaitchuck/aHash#195 Signed-off-by: Jim Crossley <[email protected]>
Also fixed the warnings exposed by the newer rustc This was motivated by an error only seen for apple targets: tkaitchuck/aHash#195 Signed-off-by: Jim Crossley <[email protected]>
ahash requires it; see tkaitchuck/aHash#195.
I'd greatly appreciate it if we could solve this problem without bumping the MSRV. I try to provide support for older versions of Rust, and Debian stable offers 1.63, which I'd like to continue to target. |
This still happens on M1 with rust 1.78.0 nightly. Is there something I am missing ? |
Same for me here (M1):
For more information about this error, try |
I have the same issue in https://github.com/iesahin/xvc/actions/runs/7798376079/job/21266895940#step:9:1 |
To anyone hitting this error on nightly: you need to update your nightly compiler. |
1.78.0-nightly is latest and not working with it :-( |
Are you using the latest version of ahash? Try |
still doesn't compile on m1 with stable toolchain with this error |
Since the latest ahash 0.8.7 release I'm hitting a
use of unstable library feature 'stdsimd'
on compilation.We test on several architectures and operating systems and this only occurred on our macos m1 mac mini.
Full error:
The text was updated successfully, but these errors were encountered: