diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-03-17 05:47:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-17 05:47:49 -0400 |
| commit | b3b7a3b8d2bef30c82df92600d0cd7cef460b441 (patch) | |
| tree | 7f8a025daa68f11cca3c59db1f096ded74462a58 /library/std/src/sys/random | |
| parent | 08dfbf49e30d917c89e49eb14cb3f1e8b8a1c9ef (diff) | |
| parent | bd385f3064f558d4bba19a0447f8b08208915dc9 (diff) | |
| download | rust-b3b7a3b8d2bef30c82df92600d0cd7cef460b441.tar.gz rust-b3b7a3b8d2bef30c82df92600d0cd7cef460b441.zip | |
Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet
Add std support to cygwin target
Diffstat (limited to 'library/std/src/sys/random')
| -rw-r--r-- | library/std/src/sys/random/getrandom.rs (renamed from library/std/src/sys/random/horizon.rs) | 0 | ||||
| -rw-r--r-- | library/std/src/sys/random/mod.rs | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/sys/random/horizon.rs b/library/std/src/sys/random/getrandom.rs index 0be2eae20a7..0be2eae20a7 100644 --- a/library/std/src/sys/random/horizon.rs +++ b/library/std/src/sys/random/getrandom.rs diff --git a/library/std/src/sys/random/mod.rs b/library/std/src/sys/random/mod.rs index 870039602bc..013e886a99b 100644 --- a/library/std/src/sys/random/mod.rs +++ b/library/std/src/sys/random/mod.rs @@ -35,10 +35,10 @@ cfg_if::cfg_if! { } else if #[cfg(target_os = "hermit")] { mod hermit; pub use hermit::fill_bytes; - } else if #[cfg(target_os = "horizon")] { - // FIXME: add arc4random_buf to shim-3ds - mod horizon; - pub use horizon::fill_bytes; + } else if #[cfg(any(target_os = "horizon", target_os = "cygwin"))] { + // FIXME(horizon): add arc4random_buf to shim-3ds + mod getrandom; + pub use getrandom::fill_bytes; } else if #[cfg(any( target_os = "aix", target_os = "hurd", |
