Skip to content

error[E0425]: cannot find value getrandom in crate libc on target mipsel-unknown-linux-musl v0.3.2 #636

Closed as not planned
@vkill

Description

@vkill

Hi guys

0.3.2 and master both have this problem, but 0.3.1 does not, please check, thanks.

git clone [email protected]:rust-random/getrandom.git
cd getrandom
gco v0.3.2
cross +nightly build -Z build-std=std --target mipsel-unknown-linux-musl --release

   Compiling getrandom v0.3.2 (/tmp/getrandom)
error[E0425]: cannot find value `getrandom` in crate `libc`
  --> src/backends/linux_android_with_fallback.rs:34:39
   |
34 |         let fptr: GetRandomFn = libc::getrandom;
   |                                       ^^^^^^^^^ not found in `libc`

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions