diff options
| author | Jan Sommer <jan.sommer@dlr.de> | 2024-11-21 23:09:50 +0100 |
|---|---|---|
| committer | Jan Sommer <jan.sommer@dlr.de> | 2024-11-21 23:10:19 +0100 |
| commit | a4a06b305d9ba6bda6354061fc3e829be16f00ad (patch) | |
| tree | f4d752fcc5f8355057bceac88359d82730271a35 | |
| parent | b19329a37cedf2027517ae22c87cf201f93d776e (diff) | |
| download | rust-a4a06b305d9ba6bda6354061fc3e829be16f00ad.tar.gz rust-a4a06b305d9ba6bda6354061fc3e829be16f00ad.zip | |
Use arc4random of libc for RTEMS target
Is available since libc 0.2.162
| -rw-r--r-- | library/std/src/sys/random/arc4random.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/random/arc4random.rs b/library/std/src/sys/random/arc4random.rs index ffabaafbee8..32467e9ebaa 100644 --- a/library/std/src/sys/random/arc4random.rs +++ b/library/std/src/sys/random/arc4random.rs @@ -12,7 +12,6 @@ #[cfg(not(any( target_os = "haiku", target_os = "illumos", - target_os = "rtems", target_os = "solaris", target_os = "vita", )))] @@ -22,7 +21,6 @@ use libc::arc4random_buf; #[cfg(any( target_os = "haiku", // See https://git.haiku-os.org/haiku/tree/headers/compatibility/bsd/stdlib.h target_os = "illumos", // See https://www.illumos.org/man/3C/arc4random - target_os = "rtems", // See https://docs.rtems.org/branches/master/bsp-howto/getentropy.html target_os = "solaris", // See https://docs.oracle.com/cd/E88353_01/html/E37843/arc4random-3c.html target_os = "vita", // See https://github.com/vitasdk/newlib/blob/b89e5bc183b516945f9ee07eef483ecb916e45ff/newlib/libc/include/stdlib.h#L74 ))] |
