hermit-os / hermit-rs

Hermit for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hermit randomness API

hugusmaximus opened this issue · 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:

rust-random/getrandom#199

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

Is this solved? If not, any possible workaround?