Skip to content

Build failure for frodo-kem with sha3 0.11.0-rc.7 (asm feature): unresolved import digest::common::BlockSizes #273

@hacer-bark

Description

@hacer-bark

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"] }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions