Crate platforms[−][src]
Expand description
Rust platform registry: provides programmatic access to information about valid Rust platforms
This crate provides an interface to the platform data canonically sourced from the Rust compiler:
https://doc.rust-lang.org/nightly/rustc/platform-support.html
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.
Re-exports
pub use crate::platform::Platform;
Modules
Rust platforms
Target cfg
attributes. Documented in the “Conditional compilation” section
of the Rust reference:
Structs
Error type
Platform requirements: glob-like expressions for matching Rust platforms
as identified by a “target triple”, e.g. i686-apple-darwin
.
Enums
Rust platform tiers: support levels are organized into three tiers, each with a different set of guarantees.
Constants
target_arch
when building this crate: x86_64
target_env
when building this crate: gnu
target_os
when building this crate: linux