Skip to content

Commit c427754

Browse files
committed
Add platform support matrix
Fixes #1441
1 parent 0c72b43 commit c427754

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Readme.md

+21
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,27 @@ $ ./test.sh
6262

6363
For more docs on how to build and test see [build_system/usage.txt](build_system/usage.txt) or the help message of `./y.sh`.
6464

65+
## Platform support
66+
67+
|OS \ architecture|x86\_64|AArch64|Riscv64|s390x (System-Z)|
68+
|---|---|---|---|---|
69+
|Linux|||[^no-rustup]|[^no-rustup]|
70+
|FreeBSD|[^no-rustup]||||
71+
|AIX|[^xcoff]|N/A|N/A|[^xcoff]|
72+
|Other unixes|||||
73+
|macOS||[^apple-silicon]|N/A|N/A|
74+
|Windows|[^no-rustup]||N/A|N/A|
75+
76+
✅: Fully supported and tested
77+
❓: Maybe supported, not tested
78+
❌: Not supported at all
79+
80+
Not all targets are available as rustup component for nightly. See notes in the platform support matrix.
81+
82+
[^xcoff]: XCOFF object file format is not supported.
83+
[^apple-silicon]: Tracked in [#1248](https://github.com/rust-lang/rustc_codegen_cranelift/issues/1248).
84+
[^no-rustup]: Not available as rustup component for nightly. You can build it yourself.
85+
6586
## Usage
6687

6788
rustc_codegen_cranelift can be used as a near-drop-in replacement for `cargo build` or `cargo run` for existing projects.

0 commit comments

Comments
 (0)