Skip to content

Commit 56f5a0a

Browse files
committed
List supported targets in the README
1 parent 48d142f commit 56f5a0a

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,37 @@ pub unsafe extern fn gethostname(name: *mut c_char, len: size_t) -> c_int;
3030
pub fn gethostname(name: &mut [u8]) -> Result<()>;
3131
```
3232

33-
## Requirements
34-
Rust >= 1.13.0
33+
## Supported Platforms
34+
35+
nix target support consists of three tiers:
36+
37+
* Tier 1 - Target is supported and CI both builds and tests
38+
* Tier 2 - Target is supported and CI builds the target
39+
* Tier 3 - Target is supported and CI both builds and tests but test failures
40+
do not block merging code
41+
42+
The following targets are all supported by nix on Rust 1.13.0 or newer:
43+
44+
Tier 1:
45+
* i686-unknown-linux-gnu
46+
* x86_64-unknown-linux-gnu
47+
* i686-apple-darwin
48+
* x86_64-apple-darwin
49+
* aarch64-unknown-linux-gnu
50+
* armv7-unknown-linux-gnueabihf
51+
* arm-unknown-linux-gnueabi
52+
53+
Tier 2:
54+
* i686-unknown-freebsd
55+
* x86_64-unknown-freebsd
56+
* x86_64-unknown-netbsd
57+
58+
Tier 3:
59+
* i686-unknown-linux-musl
60+
* x86_64-unknown-linux-musl
61+
* mips-unknown-linux-gnu
62+
* mipsel-unknown-linux-gnu
63+
* powerpc-unknown-linux-gnu
3564

3665
## Usage
3766

0 commit comments

Comments
 (0)