Skip to content

Commit c94ca05

Browse files
authored
Add Apple visionOS support (rust-random#410)
1 parent b246300 commit c94ca05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ cfg_if! {
299299
#[path = "dragonfly.rs"] mod imp;
300300
} else if #[cfg(target_os = "fuchsia")] {
301301
#[path = "fuchsia.rs"] mod imp;
302-
} else if #[cfg(any(target_os = "ios", target_os = "watchos", target_os = "tvos"))] {
302+
} else if #[cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos"))] {
303303
#[path = "apple-other.rs"] mod imp;
304304
} else if #[cfg(target_os = "macos")] {
305305
mod util_libc;

0 commit comments

Comments
 (0)