Description:
When building on aarch64 targets, enabling the asm feature on sha3 = "0.11.0-rc.7" results in a compilation error. It appears sha3 is attempting to import BlockSizes from digest::common, which no longer exists or isn't resolving properly in the current pre-release dependency tree. This affects all pre-release builds on all platform (tested on the x86_64).
Error Output:
error[E0432]: unresolved import `digest::common::BlockSizes`
--> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sha3-0.11.0-rc.7/src/block_api.rs:11:9
|
11 | BlockSizes,
| ^^^^^^^^^^
| |
| no `BlockSizes` in the root
| help: a similar name exists in the module: `BlockSizeUser`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `sha3` (lib) due to 1 previous error
Fix:
Drop asm feature from sha3 = { version = "0.11.0-rc.7", features = ["asm"] }.