Debian Codegraph @

docs/src/platforms.md

raw
1 # Platform support
2
3 <!-- markdownlint-disable MD033 MD060 -->
4
5 uutils aims to be as "universal" as possible, meaning that we try to support
6 many platforms. However, it is infeasible for us to guarantee that every
7 platform works. Just like Rust itself, we therefore have multiple tiers of
8 platform support, with different guarantees. We support two tiers of platforms:
9
10 - **Tier 1**: All applicable utils are compiled and tested in CI for these
11 platforms.
12 - **Tier 2**: These platforms are supported but not actively tested. We do accept
13 fixes for these platforms.
14
15 > **Note**: The tiers are dictated by our CI. We would happily accept a job
16 > in the CI for testing more platforms, bumping those platforms to tier 1.
17
18 ## Platforms per tier
19
20 The platforms in tier 1 and the platforms that we test in CI are listed below.
21
22 | Operating system | Tested targets |
23 | ---------------- | ------------------------ |
24 | **Linux** | `x86_64-unknown-linux-gnu` <br> `x86_64-unknown-linux-musl` <br> `arm-unknown-linux-gnueabihf` <br> `i686-unknown-linux-gnu` <br> `aarch64-unknown-linux-gnu` |
25 | **macOS** | `x86_64-apple-darwin` <br> `aarch64-apple-darwin` |
26 | **Windows** | `i686-pc-windows-msvc` <br> `x86_64-pc-windows-gnu` <br> `x86_64-pc-windows-msvc` |
27 | **FreeBSD** | `x86_64-unknown-freebsd` |
28 | **OpenBSD** | `x86_64-unknown-openbsd` |
29 | **Android** | `x86_64-linux-android` |
30 | **wasm32** | `wasm32-wasip1` <br> `wasm32-wasip2` |
31
32 The platforms in tier 2 are more vague, but include:
33
34 - untested variations of the platforms above,
35 - Redox OS,
36 - and BSDs such as NetBSD & DragonFlyBSD.
37
38 ## Utility compatibility per platform
39
40 Not all utils work on every platform. For instance, `chgrp` is not supported on
41 Windows, because Windows does not have the concept of groups. Below is a full table
42 detailing which utilities are supported for the tier 1 platforms.
43
44 Note that for some utilities, not all functionality is supported on each
45 platform. This is documented per utility.
46
47 {{ #include platform_table.md }}