Rust platform registry: provides programmatic access to information about valid Rust platforms, sourced from [Rust Forge].
[Documentation]
This crate provides programmatic access to information about valid Rust platforms. This is useful for systems which document/inventory information relevant to Rust platforms: specifically it was created for the [RustSec Advisory Database] as a way to document and validate which Rust platforms security advisories are applicable to.
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.
| target triple | targetarch | targetos | targetenv | |-----------------------------------|-------------|------------|------------| | [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 | | [x8664-apple-darwin] | x8664 | macos | "" | | [x8664-pc-windows-gnu] | x8664 | windows | gnu | | [x8664-pc-windows-msvc] | x8664 | windows | msvc | | [x8664-unknown-linux-gnu] | x86_64 | linux | gnu |
| target triple | targetarch | targetos | targetenv | |-----------------------------------|-------------|------------|------------| | [aarch64-apple-ios] | aarch64 | ios | "" | | [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 | "" | | [x8664-apple-ios] | x8664 | ios | "" | | [x8664-linux-android] | x8664 | android | "" | | [x8664-rumprun-netbsd] | x8664 | netbsd | "" | | [x8664-sun-solaris] | x8664 | solaris | "" | | [x8664-unknown-cloudabi] | x8664 | cloudabi | "" | | [x8664-unknown-freebsd] | x8664 | freebsd | "" | | [x8664-fuchsia] | x8664 | fuchsia | "" | | [x8664-unknown-linux-gnux32] | x8664 | linux | gnu | | [x8664-unknown-linux-musl] | x8664 | linux | musl | | [x8664-unknown-netbsd] | x8664 | netbsd | "" | | [x8664-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 |
| target triple | targetarch | targetos | targetenv | |-----------------------------------|-------------|------------|------------| | [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 | "" | | [x8664-fortanix-unknown-sgx] | x8664 | unknown | sgx | | [x8664-unknown-bitrig] | x8664 | bitrig | "" | | [x8664-unknown-dragonfly] | x8664 | dragonfly | "" | | [x8664-unknown-haiku] | x8664 | haiku | "" | | [x8664-unknown-openbsd] | x86_64 | openbsd | "" |
Licensed under either of:
at your option.
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.