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.
Structs§
- Error
- Error type
- Platform
- Rust platforms supported by mainline rustc
- Platform
Req - Platform requirements: glob-like expressions for matching Rust platforms
as identified by a “target triple”, e.g.
i686-apple-darwin.
Enums§
- Arch
target_arch: Target CPU architecture- Endian
target_endian: Endianness of the target.- Env
target_env: target environment that disambiguates the target platform by ABI / libc.- Os
target_os: Operating system of the target.- Pointer
Width target_pointer_width: Size of native pointer types (usize,isize) in bits- Tier
- Rust platform tiers: support levels are organized into three tiers, each with a different set of guarantees.