Closed redshiftzero closed 3 months ago
Closing this as not needed, the build failure I was hitting was due to feature unification causing rand_core
to pull in the default getrandom
feature, that build is now succeeding: https://github.com/penumbra-zone/poseidon377/pull/53
I discovered when compiling
poseidon377
usingdecaf377 0.9.0
onthumbv8m.main-none-eabi
that the addition ofrand_core
in #91 caused a build failure. This is becauserand_core
requiresgetrandom
, which in turn does not support the targetthumbv8m.main-none-eabi
(more deets here: https://docs.rs/getrandom/latest/getrandom/#unsupported-targets). This PR sidesteps that issue by moving the new methods requiringrand_core
under thestd
feature flag.