You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #131887 - jieyouxu:rollup-ftik4ni, r=jieyouxu
Rollup of 9 pull requests
Successful merges:
- #130136 (Partially stabilize const_pin)
- #131755 (Regression test for AVR `rjmp` offset)
- #131774 (Add getentropy for RTEMS)
- #131802 (Dont ICE when computing coverage of synthetic async closure body)
- #131809 (Fix predicate signatures in retain_mut docs)
- #131858 (Remove outdated documentation for `repeat_n`)
- #131866 (Avoid use imports in `thread_local_inner!`)
- #131874 (Default to the medium code model on OpenHarmony LoongArch target)
- #131877 (checktools.sh: add link to issue for more context about disabled Miri tests)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardexpand all lines: library/std/src/sys/random/arc4random.rs
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
#[cfg(not(any(
13
13
target_os = "haiku",
14
14
target_os = "illumos",
15
+
target_os = "rtems",
15
16
target_os = "solaris",
16
17
target_os = "vita",
17
18
)))]
@@ -21,6 +22,7 @@ use libc::arc4random_buf;
21
22
#[cfg(any(
22
23
target_os = "haiku",// See https://git.haiku-os.org/haiku/tree/headers/compatibility/bsd/stdlib.h
23
24
target_os = "illumos",// See https://www.illumos.org/man/3C/arc4random
25
+
target_os = "rtems",// See https://docs.rtems.org/branches/master/bsp-howto/getentropy.html
24
26
target_os = "solaris",// See https://docs.oracle.com/cd/E88353_01/html/E37843/arc4random-3c.html
25
27
target_os = "vita",// See https://github.com/vitasdk/newlib/blob/b89e5bc183b516945f9ee07eef483ecb916e45ff/newlib/libc/include/stdlib.h#L74
0 commit comments