-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
library dependency of solana-frozen-abi 1.17.13 breaks build-sbf #34609
Comments
I'm hitting the same issue (OSX)
|
The easiest way to fix this problem is to add: ahash = "=0.8.6" to your dependency list in or run:
More details in: https://solana.stackexchange.com/a/8805 |
Neither of those solutions worked for me with Rust 1.75.0 . |
What do you get if you run Also, your Rust version is irrelevant because |
After running cargo tree and getting 0.8.7, I realized I made a mistake and added ahash="=0.8.6" to my workspace Cargo.toml dependencies instead of my solana program's Cargo.toml. After I fixed that, I got things to compile correctly.
Well, that makes sense since cargo build worked fine. Thanks for your help! |
|
nicely done |
Problem
ahash v0.8.7 uses an unstable feature which breaks cargo build-sbf on Solana v1.17.13. ahash is a dependency of solana-frozen-abi.
Proposed Solution
Not sure. Maybe ahash needs to be fixed by adding the crate attribute.
The text was updated successfully, but these errors were encountered: