Skip to content

cannot find value getrandom in crate libc (mipsel-unknown-linux-musl) #641

Closed
@brocaar

Description

@brocaar

I'm having difficulties building this crate for MIPS. When building this crate I get:

error[E0425]: cannot find value `getrandom` in crate `libc`
  --> /home/brocaar/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.3.2/src/backends/linux_android_with_fallback.rs:34:39
   |
34 |         let fptr: GetRandomFn = libc::getrandom;
   |                                       ^^^^^^^^^ not found in `libc`

As this might as well be a bug in libc, I have also created the following iss:
rust-lang/libc#4354

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