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

there is a error when build this program #19

Closed
lucas7788 opened this issue Jan 5, 2024 · 2 comments
Closed

there is a error when build this program #19

lucas7788 opened this issue Jan 5, 2024 · 2 comments

Comments

@lucas7788
Copy link

lucas7788 commented Jan 5, 2024

my anchor version is anchor-cli 0.29.0

Compiling bs58 v0.3.1
error[E0658]: use of unstable library feature 'build_hasher_simple_hash_one'
--> src/random_state.rs:463:5
|
463 | / fn hash_one<T: Hash>(&self, x: T) -> u64 {
464 | | RandomState::hash_one(self, x)
465 | | }
| |_____^
|
= note: see issue #86161 rust-lang/rust#86161 for more information
= help: add #![feature(build_hasher_simple_hash_one)] to the crate attributes to enable

For more information about this error, try rustc --explain E0658.
error: could not compile ahash due to previous error
warning: build failed, waiting for other jobs to finish...

@Matthammond96
Copy link

Matthammond96 commented Jan 6, 2024

Facing the same error, using rust version 1.75.0.

Current solution is to downgrade ahash - cargo update -p [email protected] --precise 0.8.6

@ironaddicteddog
Copy link
Owner

Let me take a look. Thx for reproring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants