File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 16
16
//! | Windows | `*‑windows‑*` | [`BCryptGenRandom`][3] |
17
17
//! | macOS | `*‑apple‑darwin` | [`getentropy()`][19] if available, otherwise [`/dev/random`][20] (identical to `/dev/urandom`)
18
18
//! | iOS | `*‑apple‑ios` | [`SecRandomCopyBytes`][4]
19
+ //! | watchOS | `*-apple-watchos` | [`SecRandomCopyBytes`][4]
19
20
//! | FreeBSD | `*‑freebsd` | [`getrandom()`][21] if available, otherwise [`kern.arandom`][5]
20
21
//! | OpenBSD | `*‑openbsd` | [`getentropy`][6]
21
22
//! | NetBSD | `*‑netbsd` | [`kern.arandom`][7]
@@ -189,7 +190,7 @@ cfg_if! {
189
190
#[ path = "dragonfly.rs" ] mod imp;
190
191
} else if #[ cfg( target_os = "fuchsia" ) ] {
191
192
#[ path = "fuchsia.rs" ] mod imp;
192
- } else if #[ cfg( target_os = "ios" ) ] {
193
+ } else if #[ cfg( any ( target_os = "ios" , target_os = "watchos" ) ) ] {
193
194
#[ path = "ios.rs" ] mod imp;
194
195
} else if #[ cfg( target_os = "macos" ) ] {
195
196
mod util_libc;
You can’t perform that action at this time.
0 commit comments