summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/tests/rand/main.rs
blob: 9dac8027f6c7054c42385cc9bfb0a2cc769e2c09 (plain)
1
2
3
4
5
6
7
8
9
//! Tests for [`rustix::rand`].

#![cfg(feature = "rand")]
#![cfg(not(windows))]
#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]

#[cfg(any(linux_raw, all(libc, target_os = "linux")))]
mod getrandom;