Sha256: 92c71e68adcb9bc4ee39e6b2db730e06af1e0c8db0389712b5ea8a1d86991277

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

//! Implementation for Linux / Android without `/dev/urandom` fallback
use crate::{util_libc, Error};
use core::mem::MaybeUninit;

pub fn getrandom_inner(dest: &mut [MaybeUninit<u8>]) -> Result<(), Error> {
    util_libc::sys_fill_exact(dest, util_libc::getrandom_syscall)
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-28.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-27.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-26.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-25.0.2 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-25.0.1 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-25.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs
wasmtime-24.0.0 ./ext/cargo-vendor/getrandom-0.2.15/src/linux_android.rs