| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
#![no_std] |
| 16 |
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustSec/logos/main/rustsec-logo-lg.png")] |
| 17 |
#![forbid(unsafe_code)] |
| 18 |
#![warn(missing_docs, unused_qualifications, rust_2018_idioms)] |
| 19 |
|
| 20 |
#[cfg(feature = "std")] |
| 21 |
extern crate std; |
| 22 |
|
| 23 |
pub(crate) mod error; |
| 24 |
pub mod platform; |
| 25 |
pub mod target; |
| 26 |
|
| 27 |
pub use crate::{ |
| 28 |
error::Error, |
| 29 |
platform::{Platform, Tier}, |
| 30 |
target::{Arch, Endian, Env, PointerWidth, OS}, |
| 31 |
}; |
| 32 |
|
| 33 |
#[cfg(feature = "std")] |
| 34 |
pub use crate::platform::PlatformReq; |