Skip to content

Commit 9b4bb00

Browse files
authored
Remove CloudABI support (#184)
* Remove CloudABI support and update CI
1 parent b4834a5 commit 9b4bb00

File tree

3 files changed

+4
-29
lines changed

3 files changed

+4
-29
lines changed

.github/workflows/tests.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ jobs:
6666
target: ${{ matrix.target }}
6767
toolchain: stable
6868
override: true
69-
- run: sudo apt install gcc-multilib
69+
# update is needed to fix the 404 error on install, see:
70+
# https://github.com/actions/virtual-environments/issues/675
71+
- run: sudo apt-get update
72+
- run: sudo apt-get install gcc-multilib
7073
- run: cargo test --target ${{ matrix.target }}
7174

7275
windows-tests:

src/cloudabi.rs

-24
This file was deleted.

src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
//! | Solaris, illumos | `*‑solaris`, `*‑illumos` | [`getrandom()`][9] if available, otherwise [`/dev/random`][10]
2525
//! | Fuchsia OS | `*‑fuchsia` | [`cprng_draw`][11]
2626
//! | Redox | `*‑redox` | [`rand:`][12]
27-
//! | CloudABI | `*‑cloudabi` | [`cloudabi_sys_random_get`][13]
2827
//! | Haiku | `*‑haiku` | `/dev/random` (identical to `/dev/urandom`)
2928
//! | SGX | `x86_64‑*‑sgx` | [RDRAND][18]
3029
//! | VxWorks | `*‑wrs‑vxworks‑*` | `randABytes` after checking entropy pool initialization with `randSecure`
@@ -133,7 +132,6 @@
133132
//! [10]: https://docs.oracle.com/cd/E86824_01/html/E54777/random-7d.html
134133
//! [11]: https://fuchsia.dev/fuchsia-src/zircon/syscalls/cprng_draw
135134
//! [12]: https://github.com/redox-os/randd/blob/master/src/main.rs
136-
//! [13]: https://github.com/nuxinl/cloudabi#random_get
137135
//! [14]: https://www.w3.org/TR/WebCryptoAPI/#Crypto-method-getRandomValues
138136
//! [15]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
139137
//! [16]: #webassembly-support
@@ -186,8 +184,6 @@ cfg_if! {
186184
} else if #[cfg(any(target_os = "freebsd", target_os = "netbsd"))] {
187185
mod util_libc;
188186
#[path = "bsd_arandom.rs"] mod imp;
189-
} else if #[cfg(target_os = "cloudabi")] {
190-
#[path = "cloudabi.rs"] mod imp;
191187
} else if #[cfg(target_os = "fuchsia")] {
192188
#[path = "fuchsia.rs"] mod imp;
193189
} else if #[cfg(target_os = "ios")] {

0 commit comments

Comments
 (0)