We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am seeing different hash values when compiling with/without -Ctarget-cpu=native
-Ctarget-cpu=native
> cargo r Hello, world! 2812988653723342679 > RUSTFLAGS='-C target-cpu=native' cargo r Hello, world! 10721529036479106072
Cargo.toml:
[package] name = "hash-test" version = "0.1.0" edition = "2021" [dependencies] ahash = "0.8.11"
src/main.rs:
use ahash::RandomState; const HASHER: RandomState = RandomState::with_seeds(42, 42, 42, 42); fn main() { let name = "Hello, world!"; println!("{}", name); println!("{}", HASHER.hash_one(name)); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am seeing different hash values when compiling with/without
-Ctarget-cpu=native
Files
Cargo.toml:
src/main.rs:
The text was updated successfully, but these errors were encountered: