use platform::{Platform, Tier};
use target::{Arch, Env, OS};
pub const I686_APPLE_DARWIN: Platform = Platform {
target_triple: "i686-apple-darwin",
target_arch: Arch::X86,
target_os: OS::MacOS,
target_env: None,
tier: Tier::One,
};
pub const I686_PC_WINDOWS_GNU: Platform = Platform {
target_triple: "i686-pc-windows-gnu",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Some(Env::GNU),
tier: Tier::One,
};
pub const I686_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "i686-pc-windows-msvc",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Some(Env::MSVC),
tier: Tier::One,
};
pub const I686_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "i686-unknown-linux-gnu",
target_arch: Arch::X86,
target_os: OS::Linux,
target_env: Some(Env::GNU),
tier: Tier::One,
};
pub const X86_64_APPLE_DARWIN: Platform = Platform {
target_triple: "x86-64-apple-darwin",
target_arch: Arch::X86_64,
target_os: OS::MacOS,
target_env: None,
tier: Tier::One,
};
pub const X86_64_PC_WINDOWS_GNU: Platform = Platform {
target_triple: "x86_64-pc-windows-gnu",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Some(Env::GNU),
tier: Tier::One,
};
pub const X86_64_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "x86_64-pc-windows-msvc",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Some(Env::MSVC),
tier: Tier::One,
};
pub const X86_64_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "x86_64-unknown-linux-gnu",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Some(Env::GNU),
tier: Tier::One,
};