RustInQemu: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 20: Line 20:
! style="background-color:orange" | Tier2
! style="background-color:orange" | Tier2
| Rust [https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-2 Tier 2] target ''without'' host tools, but with full standard library.
| Rust [https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-2 Tier 2] target ''without'' host tools, but with full standard library.
|-
! style="background-color:red" | Tier3
| Rust [https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-3 Tier 3] target, but lacks either full standard library or host tool build support.
|-
! style="background-color:red" | -
| Rust does not have support for this target
|-
! style="background-color:grey" | N/A
| OS doesn't support this architecture
|}
|}


Line 47: Line 56:
! s390x
! s390x
|-
|-
! SPARC
! SPARC (64-bit)
| style="background-color:orange" | Tier2
| style="background-color:grey" | N/A
| style="background-color:grey" | N/A
! style="background-color:red" | -
| style="background-color:yellow" | Tier3*
! style="background-color:red" | Tier3
|-
|-
! x86 (32-bit)
! x86 (32-bit)
| style="color:white;background-color:green" | Tier1*
| style="color:white;background-color:green" | Tier1*
|
| style="background-color:grey" | N/A?
| style="color:white;background-color:green" | Tier1*
| style="color:white;background-color:green" | Tier1*
| style="background-color:orange" | Tier2
| style="background-color:orange" | Tier2

Revision as of 05:37, 17 September 2021

Notes about possibilities for including Rust code in the Qemu project. Started after discussion at the Rust in Qemu BoF at KVM Forum 2021.

Rust target support for Qemu host platforms

  • Qemu supported platforms matrix from here
  • Rust target support tiers from here
Legend
Tier1* Rust Tier 1 with Host Tools supported target.
Tier2* Rust Tier 2 with Host Tools supported target
Tier3* Rust Tier 3 target, with full standard library, and host tool build support
Tier2 Rust Tier 2 target without host tools, but with full standard library.
Tier3 Rust Tier 3 target, but lacks either full standard library or host tool build support.
- Rust does not have support for this target
N/A OS doesn't support this architecture


xxx Linux macOS Windows FreeBSD NetBSD OpenBSD
armv7
aarch64
MIPS
PPC (32-bit)
PPC (64-bit)
RISC-V
s390x
SPARC (64-bit) Tier2 N/A N/A - Tier3* Tier3
x86 (32-bit) Tier1* N/A? Tier1* Tier2 Tier3* Tier3*
x86 (64-bit) Tier1* Tier1* Tier1* Tier2* Tier2* Tier3*