hermit-rs icon indicating copy to clipboard operation
hermit-rs copied to clipboard

Hermit randomness API

Open hugusmaximus opened this issue 1 year ago • 0 comments

While trying to add rustls support to tiny_http (Hermit/aarch64), I got this error:

error[E0425]: cannot find function `fill_impl` in this scope
   --> /home/hugo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/src/rand.rs:160:9
    |
160 |         fill_impl(dest)
    |         ^^^^^^^^^
    |
help: you might have meant to call the method
    |
160 |         self.fill_impl(dest)
    |         +++++

For more information about this error, try `rustc --explain E0425`.
error: could not compile `ring` (lib) due to 1 previous error

and on this thread:

https://github.com/rust-random/getrandom/issues/199

they say: 'Hermit randomness API always fails on ARM targets."

Is this solved? If not, any possible workaround?

hugusmaximus avatar Dec 30 '23 20:12 hugusmaximus