Crate platforms

Source
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;
pub use crate::platform::Tier;
pub use crate::target::Arch;
pub use crate::target::Endian;
pub use crate::target::Env;
pub use crate::target::PointerWidth;
pub use crate::target::OS;
pub use crate::platform::PlatformReq;

Modules§

platform
Rust platforms
target
Target cfg attributes. Documented in the “Conditional compilation” section of the Rust reference:

Structs§

Error
Error type