Closed StackOverflowExcept1on closed 3 months ago
You didn't mention what target you're using and are pulling in superfluous dependencies. Can you pull in just k256
and its transitive dependencies? (e.g. no rand_core
)
Which crate are you speculating is actually linking liballoc?
I reproduced this without the superfluous dependencies. Wonder if it's related to precomputation /cc @fjarri
You didn't mention what target you're using
rustc 1.79.0 (129f3b996 2024-06-10) binary: rustc commit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081 commit-date: 2024-06-10 host: x86_64-unknown-linux-gnu release: 1.79.0 LLVM version: 18.1.7
This is might be related to zeroize feature "alloc"
├── hybrid-array feature "default"
│ └── hybrid-array v0.2.0-rc.8
│ ├── typenum feature "const-generics"
│ │ └── typenum v1.17.0
│ ├── typenum feature "default"
│ │ └── typenum v1.17.0
│ └── zeroize feature "default"
│ ├── zeroize v1.8.1
│ └── zeroize feature "alloc"
│ └── zeroize v1.8.1
Aah, good catch
Edit: opened https://github.com/RustCrypto/hybrid-array/pull/76