cannot find value getrandom
in crate libc
(mipsel-unknown-linux-musl)
#4354
Labels
C-bug
Category: bug
It seems that
libc::getrandom
is not implemented for MIPS target(s). My code depends onrand v0.9.0
, which depends onrand_core
, which depends ongetrandom
which uses this crate to calllibc::getrandom
.When building the
getrandom
dependency, it fails with the following error:libc
version is0.2.171
.As MIPS is a tier-3 target, I'm building my code (using cross-rs):
There is no note in the documentation stating that this method is not supported for MIPS target(s):
https://docs.rs/libc/latest/libc/fn.getrandom.html
The text was updated successfully, but these errors were encountered: