diff options
| author | Nikolay Arhipov <n@arhipov.net> | 2023-05-07 11:20:01 +0300 |
|---|---|---|
| committer | Nikolay Arhipov <n@arhipov.net> | 2023-05-07 18:57:43 +0300 |
| commit | 3ba3df376416eb821e2fe9e3e93243df96e3eaa9 (patch) | |
| tree | 7176368105a3060d698e4134b8f2779fc7b442fc /library/std/src/sys/unix/rand.rs | |
| parent | 0dddad0dc5d614f799d7e04de4895e7a7418eccb (diff) | |
| download | rust-3ba3df376416eb821e2fe9e3e93243df96e3eaa9.tar.gz rust-3ba3df376416eb821e2fe9e3e93243df96e3eaa9.zip | |
PS Vita std support
Diffstat (limited to 'library/std/src/sys/unix/rand.rs')
| -rw-r--r-- | library/std/src/sys/unix/rand.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/rand.rs b/library/std/src/sys/unix/rand.rs index 0f347ffab42..d8b63546b9e 100644 --- a/library/std/src/sys/unix/rand.rs +++ b/library/std/src/sys/unix/rand.rs @@ -21,7 +21,8 @@ pub fn hashmap_random_keys() -> (u64, u64) { not(target_os = "fuchsia"), not(target_os = "redox"), not(target_os = "vxworks"), - not(target_os = "emscripten") + not(target_os = "emscripten"), + not(target_os = "vita"), ))] mod imp { use crate::fs::File; @@ -175,7 +176,7 @@ mod imp { } } -#[cfg(any(target_os = "openbsd", target_os = "emscripten"))] +#[cfg(any(target_os = "openbsd", target_os = "emscripten", target_os = "vita"))] mod imp { use crate::sys::os::errno; |
