Comments (20)
This was stabilized in 1.72.
from ahash.
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.
from ahash.
This still happens on M1 with rust 1.78.0 nightly. Is there something I am missing ?
from ahash.
still doesn't compile on m1 with stable toolchain with this error
from ahash.
Proposed fix #196
from ahash.
FWIW, I'm running into this too (when trying to upgrade ahash in hickory-dns on my M1 with Rust 1.67).
from ahash.
Same for me here (M1):
- rust 1.77.0-nightly - works fine
- rust 1.78.0-nightly - error[E0635]: unknown feature
stdsimd
--> /Users/alexeykhan/.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...
from ahash.
Are you using the latest version of ahash? Try cargo update
.
from ahash.
@Amanieu It looks like this is caused by #183
Should I revert it or is there a better way?
from ahash.
These functions are stable, are you using an older version of rustc?
from ahash.
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.
from ahash.
I am attempting to expand the presubmit checks to cover this #197
but so far it is still passing. What combination am I missing?
from ahash.
What combination am I missing?
I left a suggestion: #197 (comment)
from ahash.
@Anton-4 Can you clearify, you saw this when targeting aarch64-apple-darwin
? What args / rust flags were passed?
from ahash.
For datafusion, the issue came from apache/arrow-datafusion#8743
Tagging @Ted-Jiang who reproduced the issue
An example of the dependency datafusion has:
- Located in a few other crates within datafusion too, but is essentially the same (version & features)
from ahash.
Can you clearify, you saw this when targeting aarch64-apple-darwin ?
Yes indeed, I'll set up a minimal github repo with a full reproduction.
from ahash.
Files for minimal repro:
// rust-toolchain.toml
[toolchain]
channel = "1.71.1"
// Cargo.toml
[package]
name = "temp2"
version = "0.1.0"
edition = "2021"
[dependencies]
ahash="=0.8.7"
// src/main.rs
fn main() {
println!("Hello, world!");
}
run with cargo build --target=aarch64-apple-darwin
.
That produces the error for me on NixOS (x86_64 device) and also on macos 14 (m2 device).
from ahash.
I have the same issue in https://github.com/iesahin/xvc/actions/runs/7798376079/job/21266895940#step:9:1
from ahash.
To anyone hitting this error on nightly: you need to update your nightly compiler.
from ahash.
1.78.0-nightly is latest and not working with it :-(
from ahash.
Related Issues (20)
- test failure on s390x. HOT 1
- Significant performance regression from 0.8.6 to 0.8.7 HOT 11
- feature request: ahash without length prefixing HOT 3
- Deterministic hash value HOT 2
- error[E0635]: unknown feature `stdsimd` HOT 19
- Significant bump in MSRV from 0.8.7 to 0.8.8 HOT 9
- No link to crates.io HOT 1
- RandomState has too many collisions in low order bits when hashing a u64 HOT 29
- Hashing `&T` yields different results compared to `T`
- Fragile build script: crate automatically enables "specialize" feature HOT 14
- ahash 0.8.11 breaks hashbrown? HOT 6
- Work around `swap_bytes` on WebAssembly HOT 1
- git source unaligned with crates.io release HOT 5
- Linking Errors with Specific Optimization Levels When Running Test Cases HOT 1
- rust v1.78 std simd feature removed HOT 1
- `set_random_source` never returns `Err(false)`
- Replace atomic-polyfill with portable-atomic
- Mismatch between published version on crates.io and tagged version in git repo for v0.8.11 HOT 8
- Suggestion: Alternative wrapper HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahash.