-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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: