Rust platform registry: provides programmatic access to information about valid Rust platforms, sourced from Rust Forge.
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 | 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 |
target triple | target_arch | target_os | target_env |
---|---|---|---|
i686-unknown-haiku | x86 | haiku | "" |
i686-unknown-netbsd | x86 | netbsd | "" |
le32-unknown-nacl | unknown | unknown | "" |
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 | unknown | unknown | "" |
thumbv7em-none-eabi | unknown | unknown | "" |
thumbv7em-none-eabihf | unknown | unknown | "" |
thumbv7m-none-eabi | unknown | unknown | "" |
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 | "" |
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
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.