platforms 1.0.3

Rust platform registry with information about valid Rust platforms (target triple, target_arch, target_os) sourced from Rust Forge.
Documentation

Rust platforms crate

Latest Version Docs Build Status Apache 2/MIT licensed MSRV Project Chat

Rust platform registry: provides programmatic access to information about valid Rust platforms, sourced from the Rust compiler.

Documentation

About

This crate provides programmatic access to information about valid Rust platforms. This is useful for systems which document/inventory information relevant to Rust platforms.

It was created for the RustSec Advisory Database and is maintained by the Rust Secure Code Working Group.

It is not intended to be a tool for gating builds based on the current platform or as a replacement for Rust's existing conditional compilation features: please use those for build purposes.

Minimum Supported Rust Version

Rust 1.40 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

Registered Platforms

Tier 1

target triple target_arch target_os target_env
i686-apple-darwin x86 macos ""
i686-pc-windows-gnu x86 windows gnu
i686-pc-windows-msvc x86 windows msvc
i686-unknown-linux-gnu x86 linux gnu
x86_64-apple-darwin x86_64 macos ""
x86_64-pc-windows-gnu x86_64 windows gnu
x86_64-pc-windows-msvc x86_64 windows msvc
x86_64-unknown-linux-gnu x86_64 linux gnu

Tier 2

target triple target_arch target_os target_env
aarch64-apple-ios aarch64 ios ""
aarch64-pc-windows-msvc aarch64 windows msvc
aarch64-linux-android aarch64 android ""
aarch64-fuchsia aarch64 fuchsia ""
aarch64-unknown-linux-gnu aarch64 linux gnu
aarch64-unknown-linux-musl aarch64 linux musl
arm-linux-androideabi arm android ""
arm-unknown-linux-gnueabi arm linux gnu
arm-unknown-linux-gnueabihf arm linux gnu
arm-unknown-linux-musleabi arm linux musl
arm-unknown-linux-musleabihf arm linux musl
armv5te-unknown-linux-gnueabi arm linux gnu
armv7-apple-ios arm ios ""
armv7-linux-androideabi arm android ""
armv7-unknown-linux-gnueabihf arm linux gnu
armv7-unknown-linux-musleabihf arm linux musl
armv7s-apple-ios arm ios ""
asmjs-unknown-emscripten asmjs emscripten ""
i386-apple-ios x86 ios ""
i586-pc-windows-msvc x86 windows msvc
i586-unknown-linux-gnu x86 linux gnu
i586-unknown-linux-musl x86 linux gnu
i686-linux-android x86 android ""
i686-unknown-freebsd x86 freebsd ""
i686-unknown-linux-musl x86 linux musl
mips-unknown-linux-gnu mips linux gnu
mips-unknown-linux-musl mips linux musl
mips64-unknown-linux-gnuabi64 mips64 linux gnu
mips64el-unknown-linux-gnuabi64 mips64 linux gnu
mipsel-unknown-linux-gnu mips linux gnu
mipsel-unknown-linux-musl mips linux musl
powerpc-unknown-linux-gnu powerpc linux gnu
powerpc64-unknown-linux-gnu powerpc64 linux gnu
powerpc64le-unknown-linux-gnu powerpc64 linux gnu
s390x-unknown-linux-gnu s390x linux gnu
sparc64-unknown-linux-gnu sparc64 linux gnu
sparcv9-sun-solaris sparc64 solaris ""
wasm32-unknown-unknown wasm32 unknown ""
wasm32-unknown-emscripten wasm32 emscripten ""
x86_64-apple-ios x86_64 ios ""
x86_64-linux-android x86_64 android ""
x86_64-rumprun-netbsd x86_64 netbsd ""
x86_64-sun-solaris x86_64 solaris ""
x86_64-unknown-cloudabi x86_64 cloudabi ""
x86_64-unknown-freebsd x86_64 freebsd ""
x86_64-fuchsia x86_64 fuchsia ""
x86_64-unknown-linux-gnux32 x86_64 linux gnu
x86_64-unknown-linux-musl x86_64 linux musl
x86_64-unknown-netbsd x86_64 netbsd ""
x86_64-unknown-redox x86_64 redox ""
aarch64-unknown-cloudabi aarch64 cloudabi ""
armv7-unknown-cloudabi-eabihf arm cloudabi ""
i686-unknown-cloudabi x86 cloudabi ""
powerpc-unknown-linux-gnuspe powerpc linux gnu
sparc-unknown-linux-gnu sparc linux gnu

Tier 3

target triple target_arch target_os target_env
i686-unknown-haiku x86 haiku ""
i686-unknown-netbsd x86 netbsd ""
mips-unknown-linux-uclibc mips linux uclibc
mipsel-unknown-linux-uclibc mips linux uclibc
msp430-none-elf msp430 unknown ""
sparc64-unknown-netbsd sparc64 netbsd ""
thumbv6m-none-eabi thumbv6 unknown ""
thumbv7em-none-eabi thumbv7 unknown ""
thumbv7em-none-eabihf thumbv7 unknown ""
thumbv7m-none-eabi thumbv7 unknown ""
x86_64-fortanix-unknown-sgx x86_64 unknown sgx
x86_64-unknown-bitrig x86_64 bitrig ""
x86_64-unknown-dragonfly x86_64 dragonfly ""
x86_64-unknown-haiku x86_64 haiku ""
x86_64-unknown-openbsd x86_64 openbsd ""

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.