about summary refs log tree commit diff
path: root/library/std/src/sys/random/mod.rs
AgeCommit message (Collapse)AuthorLines
2025-07-11std: move NuttX to use arc4random for random number generationHuang Qi-1/+1
* Move `target_os = "nuttx"` from unix_legacy to arc4random section * This aligns NuttX with other POSIX-compliant systems that support arc4random * Improves random number generation quality on NuttX by using the system's built-in arc4random implementation instead of legacy fallback methods NuttX supports arc4random_buf which provides better entropy and security compared to the legacy random number generation methods. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-03-17Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboetJacob Pratt-4/+4
Add std support to cygwin target
2025-03-10Apply rustc-0023-Add-Trusty-OS-support-to-Rust-std.patchNicole LeGare-0/+3
2025-03-10Unify cygwin & horizon random impl王宇逸-7/+4
2025-03-10Impl cygwin rand with getrandom王宇逸-2/+4
2025-03-10Fix building for cygwin王宇逸-1/+2
2024-10-22AIX use /dev/urandom for implHenry Jiang-0/+1
2024-10-18Add entropy source for RTEMSJan Sommer-0/+1
2024-09-24Initial std library support for NuttXHuang Qi-0/+1
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-09-23std: switch to faster random sources on macOS and most BSDsjoboet-17/+14
2024-09-23std: implement the `random` featurejoboet-0/+98
Implements the ACP https://github.com/rust-lang/libs-team/issues/393.