File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 24
24
//! | Fuchsia OS | `*‑fuchsia` | [`cprng_draw`][11]
25
25
//! | Redox | `*‑redox` | [`/dev/urandom`][12]
26
26
//! | Haiku | `*‑haiku` | `/dev/random` (identical to `/dev/urandom`)
27
+ //! | Hermit | `x86_64-*-hermit` | [`RDRAND`][18]
27
28
//! | SGX | `x86_64‑*‑sgx` | [RDRAND][18]
28
29
//! | VxWorks | `*‑wrs‑vxworks‑*` | `randABytes` after checking entropy pool initialization with `randSecure`
29
30
//! | Emscripten | `*‑emscripten` | `/dev/random` (identical to `/dev/urandom`)
@@ -203,6 +204,8 @@ cfg_if! {
203
204
} else if #[ cfg( target_os = "vxworks" ) ] {
204
205
mod util_libc;
205
206
#[ path = "vxworks.rs" ] mod imp;
207
+ } else if #[ cfg( all( target_arch = "x86_64" , target_os = "hermit" ) ) ] {
208
+ #[ path = "rdrand.rs" ] mod imp;
206
209
} else if #[ cfg( windows) ] {
207
210
#[ path = "windows.rs" ] mod imp;
208
211
} else if #[ cfg( all( target_arch = "x86_64" , target_env = "sgx" ) ) ] {
You can’t perform that action at this time.
0 commit comments