AIX use /dev/urandom for impl · qinheping/verify-rust-std@5c416b4 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 5c416b4

AIX use /dev/urandom for impl

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ use crate::sys::random as sys;
38 38 /// Vita | `arc4random_buf`
39 39 /// Hermit | `read_entropy`
40 40 /// Horizon | `getrandom` shim
41 -/// Hurd, L4Re, QNX | `/dev/urandom`
41 +/// AIX, Hurd, L4Re, QNX | `/dev/urandom`
42 42 /// Redox | `/scheme/rand`
43 43 /// RTEMS | [`arc4random_buf`](https://docs.rtems.org/branches/master/bsp-howto/getentropy.html)
44 44 /// SGX | [`rdrand`](https://en.wikipedia.org/wiki/RDRAND)
Original file line number Diff line number Diff line change
@@ -40,6 +40,7 @@ cfg_if::cfg_if! {
40 40 mod horizon;
41 41 pub use horizon::fill_bytes;
42 42 } else if #[cfg(any(
43 + target_os = "aix",
43 44 target_os = "hurd",
44 45 target_os = "l4re",
45 46 target_os = "nto",