Skip to content

Commit

Permalink
add musl architectures to check.rs script
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Jan 26, 2025
1 parent b395f2a commit 7c7e12f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions DOCS/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- `ExtFuture`: `pending`, `poll_fn`, `ready`.
- new re-exports: `SystemAlloc`, `std::{env::*, process::*}`, `::log::*`
- new optional dependencies: `itertools`.
- add musl architectures to `check.rs` script.

### Removed
- remove standalone re-exported `core::iter` functions.
Expand All @@ -38,6 +39,7 @@
- update `str!` macro docs and tests.
- make public: `sys::env`, `work::{future, process, sync}`.
- move `data::collections::{array, destaque, list, stack, vec}` inside `data::list`.
- changed windows `msvc` target for `gnu`.

### Fixed
- enable nightly features depending on `alloc` and `std`.
Expand Down
11 changes: 9 additions & 2 deletions utils/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,21 +163,28 @@ const NO_STD_ARCHES: &[&str] = &[
];
// For testing sys::linux
const LINUX_ARCHES: &[&str] = &[
//* Tier 1 *
//----------
//* Tier 1 (+ tier 2 for musl) *
//------------------------------
// https://doc.rust-lang.org/rustc/platform-support.html#tier-1-with-host-tools
//
// Linux 64-bit
// https://doc.rust-lang.org/rustc/platform-support.html#tier-1-with-host-tools
"x86_64-unknown-linux-gnu",
// https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools
"x86_64-unknown-linux-musl",
//
// Linux i686, 32-bit, std, little-endian, (kernel 3.2+, glibc 2.17+)
// may need to install `libc6-dev-amd64-i386-cross` for testing
// https://doc.rust-lang.org/rustc/platform-support.html#tier-1-with-host-tools
"i686-unknown-linux-gnu",
// https://doc.rust-lang.org/rustc/platform-support.html#tier-2-without-host-tools
"i686-unknown-linux-musl",
//
// ARM64 Linux (kernel 4.1, glibc 2.17+)
// https://doc.rust-lang.org/rustc/platform-support.html#tier-1-with-host-tools
"aarch64-unknown-linux-gnu",
// https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools
"aarch64-unknown-linux-musl",
//
//* Tier 2 with host tools *
//--------------------------
Expand Down

0 comments on commit 7c7e12f

Please sign in to comment.