diff options
Diffstat (limited to 'vendor/rustix/tests/rand/main.rs')
-rw-r--r-- | vendor/rustix/tests/rand/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/rustix/tests/rand/main.rs b/vendor/rustix/tests/rand/main.rs new file mode 100644 index 000000000..9dac8027f --- /dev/null +++ b/vendor/rustix/tests/rand/main.rs @@ -0,0 +1,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; |