#![allow(missing_docs)]
use crate::{
platform::{Platform, Tier},
target::{Arch, Endian, Env, PointerWidth, OS},
};
pub(crate) const ALL: &[Platform] = &[
AARCH64_APPLE_DARWIN,
AARCH64_APPLE_IOS,
AARCH64_APPLE_IOS_MACABI,
AARCH64_APPLE_IOS_SIM,
AARCH64_APPLE_TVOS,
AARCH64_APPLE_TVOS_SIM,
AARCH64_APPLE_VISIONOS,
AARCH64_APPLE_VISIONOS_SIM,
AARCH64_APPLE_WATCHOS,
AARCH64_APPLE_WATCHOS_SIM,
AARCH64_FUCHSIA,
AARCH64_KMC_SOLID_ASP3,
AARCH64_LINUX_ANDROID,
AARCH64_NINTENDO_SWITCH_FREESTANDING,
AARCH64_PC_WINDOWS_GNULLVM,
AARCH64_PC_WINDOWS_MSVC,
AARCH64_UNKNOWN_FREEBSD,
AARCH64_UNKNOWN_FUCHSIA,
AARCH64_UNKNOWN_HERMIT,
AARCH64_UNKNOWN_ILLUMOS,
AARCH64_UNKNOWN_LINUX_GNU,
AARCH64_UNKNOWN_LINUX_GNU_ILP32,
AARCH64_UNKNOWN_LINUX_MUSL,
AARCH64_UNKNOWN_LINUX_OHOS,
AARCH64_UNKNOWN_NETBSD,
AARCH64_UNKNOWN_NONE,
AARCH64_UNKNOWN_NONE_SOFTFLOAT,
AARCH64_UNKNOWN_NTO_QNX710,
AARCH64_UNKNOWN_OPENBSD,
AARCH64_UNKNOWN_REDOX,
AARCH64_UNKNOWN_TEEOS,
AARCH64_UNKNOWN_UEFI,
AARCH64_UWP_WINDOWS_MSVC,
AARCH64_WRS_VXWORKS,
AARCH64_BE_UNKNOWN_LINUX_GNU,
AARCH64_BE_UNKNOWN_LINUX_GNU_ILP32,
AARCH64_BE_UNKNOWN_NETBSD,
ARM_LINUX_ANDROIDEABI,
ARM_UNKNOWN_LINUX_GNUEABI,
ARM_UNKNOWN_LINUX_GNUEABIHF,
ARM_UNKNOWN_LINUX_MUSLEABI,
ARM_UNKNOWN_LINUX_MUSLEABIHF,
ARM64_32_APPLE_WATCHOS,
ARM64E_APPLE_DARWIN,
ARM64E_APPLE_IOS,
ARM64EC_PC_WINDOWS_MSVC,
ARMEB_UNKNOWN_LINUX_GNUEABI,
ARMEBV7R_NONE_EABI,
ARMEBV7R_NONE_EABIHF,
ARMV4T_NONE_EABI,
ARMV4T_UNKNOWN_LINUX_GNUEABI,
ARMV5TE_NONE_EABI,
ARMV5TE_UNKNOWN_LINUX_GNUEABI,
ARMV5TE_UNKNOWN_LINUX_MUSLEABI,
ARMV5TE_UNKNOWN_LINUX_UCLIBCEABI,
ARMV6_UNKNOWN_FREEBSD,
ARMV6_UNKNOWN_NETBSD_EABIHF,
ARMV6K_NINTENDO_3DS,
ARMV7_LINUX_ANDROIDEABI,
ARMV7_SONY_VITA_NEWLIBEABIHF,
ARMV7_UNKNOWN_FREEBSD,
ARMV7_UNKNOWN_LINUX_GNUEABI,
ARMV7_UNKNOWN_LINUX_GNUEABIHF,
ARMV7_UNKNOWN_LINUX_MUSLEABI,
ARMV7_UNKNOWN_LINUX_MUSLEABIHF,
ARMV7_UNKNOWN_LINUX_OHOS,
ARMV7_UNKNOWN_LINUX_UCLIBCEABI,
ARMV7_UNKNOWN_LINUX_UCLIBCEABIHF,
ARMV7_UNKNOWN_NETBSD_EABIHF,
ARMV7_WRS_VXWORKS_EABIHF,
ARMV7A_KMC_SOLID_ASP3_EABI,
ARMV7A_KMC_SOLID_ASP3_EABIHF,
ARMV7A_NONE_EABI,
ARMV7A_NONE_EABIHF,
ARMV7K_APPLE_WATCHOS,
ARMV7R_NONE_EABI,
ARMV7R_NONE_EABIHF,
ARMV7S_APPLE_IOS,
ARMV8R_NONE_EABIHF,
AVR_UNKNOWN_GNU_ATMEGA328,
BPFEB_UNKNOWN_NONE,
BPFEL_UNKNOWN_NONE,
CSKY_UNKNOWN_LINUX_GNUABIV2,
CSKY_UNKNOWN_LINUX_GNUABIV2HF,
HEXAGON_UNKNOWN_LINUX_MUSL,
HEXAGON_UNKNOWN_NONE_ELF,
I386_APPLE_IOS,
I586_PC_NTO_QNX700,
I586_PC_WINDOWS_MSVC,
I586_UNKNOWN_LINUX_GNU,
I586_UNKNOWN_LINUX_MUSL,
I586_UNKNOWN_NETBSD,
I686_APPLE_DARWIN,
I686_LINUX_ANDROID,
I686_PC_WINDOWS_GNU,
I686_PC_WINDOWS_GNULLVM,
I686_PC_WINDOWS_MSVC,
I686_UNKNOWN_FREEBSD,
I686_UNKNOWN_HAIKU,
I686_UNKNOWN_HURD_GNU,
I686_UNKNOWN_LINUX_GNU,
I686_UNKNOWN_LINUX_MUSL,
I686_UNKNOWN_NETBSD,
I686_UNKNOWN_OPENBSD,
I686_UNKNOWN_REDOX,
I686_UNKNOWN_UEFI,
I686_UWP_WINDOWS_GNU,
I686_UWP_WINDOWS_MSVC,
I686_WIN7_WINDOWS_MSVC,
I686_WRS_VXWORKS,
LOONGARCH64_UNKNOWN_LINUX_GNU,
LOONGARCH64_UNKNOWN_LINUX_MUSL,
LOONGARCH64_UNKNOWN_NONE,
LOONGARCH64_UNKNOWN_NONE_SOFTFLOAT,
M68K_UNKNOWN_LINUX_GNU,
MIPS_UNKNOWN_LINUX_GNU,
MIPS_UNKNOWN_LINUX_MUSL,
MIPS_UNKNOWN_LINUX_UCLIBC,
MIPS64_OPENWRT_LINUX_MUSL,
MIPS64_UNKNOWN_LINUX_GNUABI64,
MIPS64_UNKNOWN_LINUX_MUSLABI64,
MIPS64EL_UNKNOWN_LINUX_GNUABI64,
MIPS64EL_UNKNOWN_LINUX_MUSLABI64,
MIPSEL_SONY_PSP,
MIPSEL_SONY_PSX,
MIPSEL_UNKNOWN_LINUX_GNU,
MIPSEL_UNKNOWN_LINUX_MUSL,
MIPSEL_UNKNOWN_LINUX_UCLIBC,
MIPSEL_UNKNOWN_NETBSD,
MIPSEL_UNKNOWN_NONE,
MIPSISA32R6_UNKNOWN_LINUX_GNU,
MIPSISA32R6EL_UNKNOWN_LINUX_GNU,
MIPSISA64R6_UNKNOWN_LINUX_GNUABI64,
MIPSISA64R6EL_UNKNOWN_LINUX_GNUABI64,
MSP430_NONE_ELF,
NVPTX64_NVIDIA_CUDA,
POWERPC_UNKNOWN_FREEBSD,
POWERPC_UNKNOWN_LINUX_GNU,
POWERPC_UNKNOWN_LINUX_GNUSPE,
POWERPC_UNKNOWN_LINUX_MUSL,
POWERPC_UNKNOWN_NETBSD,
POWERPC_UNKNOWN_OPENBSD,
POWERPC_WRS_VXWORKS,
POWERPC_WRS_VXWORKS_SPE,
POWERPC64_IBM_AIX,
POWERPC64_UNKNOWN_FREEBSD,
POWERPC64_UNKNOWN_LINUX_GNU,
POWERPC64_UNKNOWN_LINUX_MUSL,
POWERPC64_UNKNOWN_OPENBSD,
POWERPC64_WRS_VXWORKS,
POWERPC64LE_UNKNOWN_FREEBSD,
POWERPC64LE_UNKNOWN_LINUX_GNU,
POWERPC64LE_UNKNOWN_LINUX_MUSL,
RISCV32GC_UNKNOWN_LINUX_GNU,
RISCV32GC_UNKNOWN_LINUX_MUSL,
RISCV32I_UNKNOWN_NONE_ELF,
RISCV32IM_RISC0_ZKVM_ELF,
RISCV32IM_UNKNOWN_NONE_ELF,
RISCV32IMA_UNKNOWN_NONE_ELF,
RISCV32IMAC_ESP_ESPIDF,
RISCV32IMAC_UNKNOWN_NONE_ELF,
RISCV32IMAC_UNKNOWN_XOUS_ELF,
RISCV32IMAFC_ESP_ESPIDF,
RISCV32IMAFC_UNKNOWN_NONE_ELF,
RISCV32IMC_ESP_ESPIDF,
RISCV32IMC_UNKNOWN_NONE_ELF,
RISCV64_LINUX_ANDROID,
RISCV64GC_UNKNOWN_FREEBSD,
RISCV64GC_UNKNOWN_FUCHSIA,
RISCV64GC_UNKNOWN_HERMIT,
RISCV64GC_UNKNOWN_LINUX_GNU,
RISCV64GC_UNKNOWN_LINUX_MUSL,
RISCV64GC_UNKNOWN_NETBSD,
RISCV64GC_UNKNOWN_NONE_ELF,
RISCV64GC_UNKNOWN_OPENBSD,
RISCV64IMAC_UNKNOWN_NONE_ELF,
S390X_UNKNOWN_LINUX_GNU,
S390X_UNKNOWN_LINUX_MUSL,
SPARC_UNKNOWN_LINUX_GNU,
SPARC_UNKNOWN_NONE_ELF,
SPARC64_UNKNOWN_LINUX_GNU,
SPARC64_UNKNOWN_NETBSD,
SPARC64_UNKNOWN_OPENBSD,
SPARCV9_SUN_SOLARIS,
THUMBV4T_NONE_EABI,
THUMBV5TE_NONE_EABI,
THUMBV6M_NONE_EABI,
THUMBV7A_PC_WINDOWS_MSVC,
THUMBV7A_UWP_WINDOWS_MSVC,
THUMBV7EM_NONE_EABI,
THUMBV7EM_NONE_EABIHF,
THUMBV7M_NONE_EABI,
THUMBV7NEON_LINUX_ANDROIDEABI,
THUMBV7NEON_UNKNOWN_LINUX_GNUEABIHF,
THUMBV7NEON_UNKNOWN_LINUX_MUSLEABIHF,
THUMBV8M_BASE_NONE_EABI,
THUMBV8M_MAIN_NONE_EABI,
THUMBV8M_MAIN_NONE_EABIHF,
WASM32_UNKNOWN_EMSCRIPTEN,
WASM32_UNKNOWN_UNKNOWN,
WASM32_WASI,
WASM32_WASIP1,
WASM32_WASIP1_THREADS,
WASM32_WASIP2,
WASM64_UNKNOWN_UNKNOWN,
X86_64_APPLE_DARWIN,
X86_64_APPLE_IOS,
X86_64_APPLE_IOS_MACABI,
X86_64_APPLE_TVOS,
X86_64_APPLE_WATCHOS_SIM,
X86_64_FORTANIX_UNKNOWN_SGX,
X86_64_FUCHSIA,
X86_64_LINUX_ANDROID,
X86_64_PC_NTO_QNX710,
X86_64_PC_SOLARIS,
X86_64_PC_WINDOWS_GNU,
X86_64_PC_WINDOWS_GNULLVM,
X86_64_PC_WINDOWS_MSVC,
X86_64_UNIKRAFT_LINUX_MUSL,
X86_64_UNKNOWN_DRAGONFLY,
X86_64_UNKNOWN_FREEBSD,
X86_64_UNKNOWN_FUCHSIA,
X86_64_UNKNOWN_HAIKU,
X86_64_UNKNOWN_HERMIT,
X86_64_UNKNOWN_ILLUMOS,
X86_64_UNKNOWN_L4RE_UCLIBC,
X86_64_UNKNOWN_LINUX_GNU,
X86_64_UNKNOWN_LINUX_GNUX32,
X86_64_UNKNOWN_LINUX_MUSL,
X86_64_UNKNOWN_LINUX_NONE,
X86_64_UNKNOWN_LINUX_OHOS,
X86_64_UNKNOWN_NETBSD,
X86_64_UNKNOWN_NONE,
X86_64_UNKNOWN_OPENBSD,
X86_64_UNKNOWN_REDOX,
X86_64_UNKNOWN_UEFI,
X86_64_UWP_WINDOWS_GNU,
X86_64_UWP_WINDOWS_MSVC,
X86_64_WIN7_WINDOWS_MSVC,
X86_64_WRS_VXWORKS,
X86_64H_APPLE_DARWIN,
XTENSA_ESP32_ESPIDF,
XTENSA_ESP32_NONE_ELF,
XTENSA_ESP32S2_ESPIDF,
XTENSA_ESP32S2_NONE_ELF,
XTENSA_ESP32S3_ESPIDF,
XTENSA_ESP32S3_NONE_ELF,
];
pub(crate) const AARCH64_APPLE_DARWIN: Platform = Platform {
target_triple: "aarch64-apple-darwin",
target_arch: Arch::AArch64,
target_os: OS::MacOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_APPLE_IOS: Platform = Platform {
target_triple: "aarch64-apple-ios",
target_arch: Arch::AArch64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_APPLE_IOS_MACABI: Platform = Platform {
target_triple: "aarch64-apple-ios-macabi",
target_arch: Arch::AArch64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_IOS_SIM: Platform = Platform {
target_triple: "aarch64-apple-ios-sim",
target_arch: Arch::AArch64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_APPLE_TVOS: Platform = Platform {
target_triple: "aarch64-apple-tvos",
target_arch: Arch::AArch64,
target_os: OS::TvOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_TVOS_SIM: Platform = Platform {
target_triple: "aarch64-apple-tvos-sim",
target_arch: Arch::AArch64,
target_os: OS::TvOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_VISIONOS: Platform = Platform {
target_triple: "aarch64-apple-visionos",
target_arch: Arch::AArch64,
target_os: OS::VisionOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_VISIONOS_SIM: Platform = Platform {
target_triple: "aarch64-apple-visionos-sim",
target_arch: Arch::AArch64,
target_os: OS::VisionOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_WATCHOS: Platform = Platform {
target_triple: "aarch64-apple-watchos",
target_arch: Arch::AArch64,
target_os: OS::WatchOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_APPLE_WATCHOS_SIM: Platform = Platform {
target_triple: "aarch64-apple-watchos-sim",
target_arch: Arch::AArch64,
target_os: OS::WatchOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_FUCHSIA: Platform = Platform {
target_triple: "aarch64-fuchsia",
target_arch: Arch::AArch64,
target_os: OS::Fuchsia,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_KMC_SOLID_ASP3: Platform = Platform {
target_triple: "aarch64-kmc-solid_asp3",
target_arch: Arch::AArch64,
target_os: OS::SolidAsp3,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_LINUX_ANDROID: Platform = Platform {
target_triple: "aarch64-linux-android",
target_arch: Arch::AArch64,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_NINTENDO_SWITCH_FREESTANDING: Platform = Platform {
target_triple: "aarch64-nintendo-switch-freestanding",
target_arch: Arch::AArch64,
target_os: OS::Horizon,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_PC_WINDOWS_GNULLVM: Platform = Platform {
target_triple: "aarch64-pc-windows-gnullvm",
target_arch: Arch::AArch64,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "aarch64-pc-windows-msvc",
target_arch: Arch::AArch64,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "aarch64-unknown-freebsd",
target_arch: Arch::AArch64,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_FUCHSIA: Platform = Platform {
target_triple: "aarch64-unknown-fuchsia",
target_arch: Arch::AArch64,
target_os: OS::Fuchsia,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_HERMIT: Platform = Platform {
target_triple: "aarch64-unknown-hermit",
target_arch: Arch::AArch64,
target_os: OS::Hermit,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_ILLUMOS: Platform = Platform {
target_triple: "aarch64-unknown-illumos",
target_arch: Arch::AArch64,
target_os: OS::IllumOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "aarch64-unknown-linux-gnu",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::One,
};
pub(crate) const AARCH64_UNKNOWN_LINUX_GNU_ILP32: Platform = Platform {
target_triple: "aarch64-unknown-linux-gnu_ilp32",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "aarch64-unknown-linux-musl",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_LINUX_OHOS: Platform = Platform {
target_triple: "aarch64-unknown-linux-ohos",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::OhOS,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "aarch64-unknown-netbsd",
target_arch: Arch::AArch64,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_NONE: Platform = Platform {
target_triple: "aarch64-unknown-none",
target_arch: Arch::AArch64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_NONE_SOFTFLOAT: Platform = Platform {
target_triple: "aarch64-unknown-none-softfloat",
target_arch: Arch::AArch64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UNKNOWN_NTO_QNX710: Platform = Platform {
target_triple: "aarch64-unknown-nto-qnx710",
target_arch: Arch::AArch64,
target_os: OS::Nto,
target_env: Env::Nto71,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "aarch64-unknown-openbsd",
target_arch: Arch::AArch64,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_REDOX: Platform = Platform {
target_triple: "aarch64-unknown-redox",
target_arch: Arch::AArch64,
target_os: OS::Redox,
target_env: Env::Relibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_TEEOS: Platform = Platform {
target_triple: "aarch64-unknown-teeos",
target_arch: Arch::AArch64,
target_os: OS::TeeOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_UNKNOWN_UEFI: Platform = Platform {
target_triple: "aarch64-unknown-uefi",
target_arch: Arch::AArch64,
target_os: OS::Uefi,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const AARCH64_UWP_WINDOWS_MSVC: Platform = Platform {
target_triple: "aarch64-uwp-windows-msvc",
target_arch: Arch::AArch64,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_WRS_VXWORKS: Platform = Platform {
target_triple: "aarch64-wrs-vxworks",
target_arch: Arch::AArch64,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_BE_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "aarch64_be-unknown-linux-gnu",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const AARCH64_BE_UNKNOWN_LINUX_GNU_ILP32: Platform = Platform {
target_triple: "aarch64_be-unknown-linux-gnu_ilp32",
target_arch: Arch::AArch64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const AARCH64_BE_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "aarch64_be-unknown-netbsd",
target_arch: Arch::AArch64,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const ARM_LINUX_ANDROIDEABI: Platform = Platform {
target_triple: "arm-linux-androideabi",
target_arch: Arch::Arm,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARM_UNKNOWN_LINUX_GNUEABI: Platform = Platform {
target_triple: "arm-unknown-linux-gnueabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARM_UNKNOWN_LINUX_GNUEABIHF: Platform = Platform {
target_triple: "arm-unknown-linux-gnueabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARM_UNKNOWN_LINUX_MUSLEABI: Platform = Platform {
target_triple: "arm-unknown-linux-musleabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARM_UNKNOWN_LINUX_MUSLEABIHF: Platform = Platform {
target_triple: "arm-unknown-linux-musleabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARM64_32_APPLE_WATCHOS: Platform = Platform {
target_triple: "arm64_32-apple-watchos",
target_arch: Arch::AArch64,
target_os: OS::WatchOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARM64E_APPLE_DARWIN: Platform = Platform {
target_triple: "arm64e-apple-darwin",
target_arch: Arch::AArch64,
target_os: OS::MacOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const ARM64E_APPLE_IOS: Platform = Platform {
target_triple: "arm64e-apple-ios",
target_arch: Arch::AArch64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const ARM64EC_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "arm64ec-pc-windows-msvc",
target_arch: Arch::Arm64ec,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const ARMEB_UNKNOWN_LINUX_GNUEABI: Platform = Platform {
target_triple: "armeb-unknown-linux-gnueabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMEBV7R_NONE_EABI: Platform = Platform {
target_triple: "armebv7r-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMEBV7R_NONE_EABIHF: Platform = Platform {
target_triple: "armebv7r-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV4T_NONE_EABI: Platform = Platform {
target_triple: "armv4t-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV4T_UNKNOWN_LINUX_GNUEABI: Platform = Platform {
target_triple: "armv4t-unknown-linux-gnueabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV5TE_NONE_EABI: Platform = Platform {
target_triple: "armv5te-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV5TE_UNKNOWN_LINUX_GNUEABI: Platform = Platform {
target_triple: "armv5te-unknown-linux-gnueabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV5TE_UNKNOWN_LINUX_MUSLEABI: Platform = Platform {
target_triple: "armv5te-unknown-linux-musleabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV5TE_UNKNOWN_LINUX_UCLIBCEABI: Platform = Platform {
target_triple: "armv5te-unknown-linux-uclibceabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::UClibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV6_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "armv6-unknown-freebsd",
target_arch: Arch::Arm,
target_os: OS::FreeBSD,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV6_UNKNOWN_NETBSD_EABIHF: Platform = Platform {
target_triple: "armv6-unknown-netbsd-eabihf",
target_arch: Arch::Arm,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV6K_NINTENDO_3DS: Platform = Platform {
target_triple: "armv6k-nintendo-3ds",
target_arch: Arch::Arm,
target_os: OS::Horizon,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_LINUX_ANDROIDEABI: Platform = Platform {
target_triple: "armv7-linux-androideabi",
target_arch: Arch::Arm,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_SONY_VITA_NEWLIBEABIHF: Platform = Platform {
target_triple: "armv7-sony-vita-newlibeabihf",
target_arch: Arch::Arm,
target_os: OS::Vita,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "armv7-unknown-freebsd",
target_arch: Arch::Arm,
target_os: OS::FreeBSD,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_GNUEABI: Platform = Platform {
target_triple: "armv7-unknown-linux-gnueabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_GNUEABIHF: Platform = Platform {
target_triple: "armv7-unknown-linux-gnueabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_MUSLEABI: Platform = Platform {
target_triple: "armv7-unknown-linux-musleabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_MUSLEABIHF: Platform = Platform {
target_triple: "armv7-unknown-linux-musleabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_OHOS: Platform = Platform {
target_triple: "armv7-unknown-linux-ohos",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::OhOS,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_UCLIBCEABI: Platform = Platform {
target_triple: "armv7-unknown-linux-uclibceabi",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::UClibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_UNKNOWN_LINUX_UCLIBCEABIHF: Platform = Platform {
target_triple: "armv7-unknown-linux-uclibceabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::UClibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_UNKNOWN_NETBSD_EABIHF: Platform = Platform {
target_triple: "armv7-unknown-netbsd-eabihf",
target_arch: Arch::Arm,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7_WRS_VXWORKS_EABIHF: Platform = Platform {
target_triple: "armv7-wrs-vxworks-eabihf",
target_arch: Arch::Arm,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7A_KMC_SOLID_ASP3_EABI: Platform = Platform {
target_triple: "armv7a-kmc-solid_asp3-eabi",
target_arch: Arch::Arm,
target_os: OS::SolidAsp3,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7A_KMC_SOLID_ASP3_EABIHF: Platform = Platform {
target_triple: "armv7a-kmc-solid_asp3-eabihf",
target_arch: Arch::Arm,
target_os: OS::SolidAsp3,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7A_NONE_EABI: Platform = Platform {
target_triple: "armv7a-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7A_NONE_EABIHF: Platform = Platform {
target_triple: "armv7a-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7K_APPLE_WATCHOS: Platform = Platform {
target_triple: "armv7k-apple-watchos",
target_arch: Arch::Arm,
target_os: OS::WatchOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV7R_NONE_EABI: Platform = Platform {
target_triple: "armv7r-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7R_NONE_EABIHF: Platform = Platform {
target_triple: "armv7r-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const ARMV7S_APPLE_IOS: Platform = Platform {
target_triple: "armv7s-apple-ios",
target_arch: Arch::Arm,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const ARMV8R_NONE_EABIHF: Platform = Platform {
target_triple: "armv8r-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const AVR_UNKNOWN_GNU_ATMEGA328: Platform = Platform {
target_triple: "avr-unknown-gnu-atmega328",
target_arch: Arch::Avr,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U16,
tier: Tier::Three,
};
pub(crate) const BPFEB_UNKNOWN_NONE: Platform = Platform {
target_triple: "bpfeb-unknown-none",
target_arch: Arch::Bpf,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const BPFEL_UNKNOWN_NONE: Platform = Platform {
target_triple: "bpfel-unknown-none",
target_arch: Arch::Bpf,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const CSKY_UNKNOWN_LINUX_GNUABIV2: Platform = Platform {
target_triple: "csky-unknown-linux-gnuabiv2",
target_arch: Arch::Csky,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const CSKY_UNKNOWN_LINUX_GNUABIV2HF: Platform = Platform {
target_triple: "csky-unknown-linux-gnuabiv2hf",
target_arch: Arch::Csky,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const HEXAGON_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "hexagon-unknown-linux-musl",
target_arch: Arch::Hexagon,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const HEXAGON_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "hexagon-unknown-none-elf",
target_arch: Arch::Hexagon,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I386_APPLE_IOS: Platform = Platform {
target_triple: "i386-apple-ios",
target_arch: Arch::X86,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I586_PC_NTO_QNX700: Platform = Platform {
target_triple: "i586-pc-nto-qnx700",
target_arch: Arch::X86,
target_os: OS::Nto,
target_env: Env::Nto70,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I586_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "i586-pc-windows-msvc",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I586_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "i586-unknown-linux-gnu",
target_arch: Arch::X86,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I586_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "i586-unknown-linux-musl",
target_arch: Arch::X86,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I586_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "i586-unknown-netbsd",
target_arch: Arch::X86,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_APPLE_DARWIN: Platform = Platform {
target_triple: "i686-apple-darwin",
target_arch: Arch::X86,
target_os: OS::MacOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_LINUX_ANDROID: Platform = Platform {
target_triple: "i686-linux-android",
target_arch: Arch::X86,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I686_PC_WINDOWS_GNU: Platform = Platform {
target_triple: "i686-pc-windows-gnu",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::One,
};
pub(crate) const I686_PC_WINDOWS_GNULLVM: Platform = Platform {
target_triple: "i686-pc-windows-gnullvm",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I686_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "i686-pc-windows-msvc",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::One,
};
pub(crate) const I686_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "i686-unknown-freebsd",
target_arch: Arch::X86,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I686_UNKNOWN_HAIKU: Platform = Platform {
target_triple: "i686-unknown-haiku",
target_arch: Arch::X86,
target_os: OS::Haiku,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UNKNOWN_HURD_GNU: Platform = Platform {
target_triple: "i686-unknown-hurd-gnu",
target_arch: Arch::X86,
target_os: OS::Hurd,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "i686-unknown-linux-gnu",
target_arch: Arch::X86,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::One,
};
pub(crate) const I686_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "i686-unknown-linux-musl",
target_arch: Arch::X86,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I686_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "i686-unknown-netbsd",
target_arch: Arch::X86,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "i686-unknown-openbsd",
target_arch: Arch::X86,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UNKNOWN_REDOX: Platform = Platform {
target_triple: "i686-unknown-redox",
target_arch: Arch::X86,
target_os: OS::Redox,
target_env: Env::Relibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UNKNOWN_UEFI: Platform = Platform {
target_triple: "i686-unknown-uefi",
target_arch: Arch::X86,
target_os: OS::Uefi,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const I686_UWP_WINDOWS_GNU: Platform = Platform {
target_triple: "i686-uwp-windows-gnu",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_UWP_WINDOWS_MSVC: Platform = Platform {
target_triple: "i686-uwp-windows-msvc",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_WIN7_WINDOWS_MSVC: Platform = Platform {
target_triple: "i686-win7-windows-msvc",
target_arch: Arch::X86,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const I686_WRS_VXWORKS: Platform = Platform {
target_triple: "i686-wrs-vxworks",
target_arch: Arch::X86,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const LOONGARCH64_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "loongarch64-unknown-linux-gnu",
target_arch: Arch::Loongarch64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const LOONGARCH64_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "loongarch64-unknown-linux-musl",
target_arch: Arch::Loongarch64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const LOONGARCH64_UNKNOWN_NONE: Platform = Platform {
target_triple: "loongarch64-unknown-none",
target_arch: Arch::Loongarch64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const LOONGARCH64_UNKNOWN_NONE_SOFTFLOAT: Platform = Platform {
target_triple: "loongarch64-unknown-none-softfloat",
target_arch: Arch::Loongarch64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const M68K_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "m68k-unknown-linux-gnu",
target_arch: Arch::M68k,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPS_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "mips-unknown-linux-gnu",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPS_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "mips-unknown-linux-musl",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPS_UNKNOWN_LINUX_UCLIBC: Platform = Platform {
target_triple: "mips-unknown-linux-uclibc",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::UClibc,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPS64_OPENWRT_LINUX_MUSL: Platform = Platform {
target_triple: "mips64-openwrt-linux-musl",
target_arch: Arch::Mips64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPS64_UNKNOWN_LINUX_GNUABI64: Platform = Platform {
target_triple: "mips64-unknown-linux-gnuabi64",
target_arch: Arch::Mips64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPS64_UNKNOWN_LINUX_MUSLABI64: Platform = Platform {
target_triple: "mips64-unknown-linux-muslabi64",
target_arch: Arch::Mips64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPS64EL_UNKNOWN_LINUX_GNUABI64: Platform = Platform {
target_triple: "mips64el-unknown-linux-gnuabi64",
target_arch: Arch::Mips64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPS64EL_UNKNOWN_LINUX_MUSLABI64: Platform = Platform {
target_triple: "mips64el-unknown-linux-muslabi64",
target_arch: Arch::Mips64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPSEL_SONY_PSP: Platform = Platform {
target_triple: "mipsel-sony-psp",
target_arch: Arch::Mips,
target_os: OS::Psp,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_SONY_PSX: Platform = Platform {
target_triple: "mipsel-sony-psx",
target_arch: Arch::Mips,
target_os: OS::None,
target_env: Env::Psx,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "mipsel-unknown-linux-gnu",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "mipsel-unknown-linux-musl",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_UNKNOWN_LINUX_UCLIBC: Platform = Platform {
target_triple: "mipsel-unknown-linux-uclibc",
target_arch: Arch::Mips,
target_os: OS::Linux,
target_env: Env::UClibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "mipsel-unknown-netbsd",
target_arch: Arch::Mips,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSEL_UNKNOWN_NONE: Platform = Platform {
target_triple: "mipsel-unknown-none",
target_arch: Arch::Mips,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSISA32R6_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "mipsisa32r6-unknown-linux-gnu",
target_arch: Arch::Mips32r6,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSISA32R6EL_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "mipsisa32r6el-unknown-linux-gnu",
target_arch: Arch::Mips32r6,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const MIPSISA64R6_UNKNOWN_LINUX_GNUABI64: Platform = Platform {
target_triple: "mipsisa64r6-unknown-linux-gnuabi64",
target_arch: Arch::Mips64r6,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MIPSISA64R6EL_UNKNOWN_LINUX_GNUABI64: Platform = Platform {
target_triple: "mipsisa64r6el-unknown-linux-gnuabi64",
target_arch: Arch::Mips64r6,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const MSP430_NONE_ELF: Platform = Platform {
target_triple: "msp430-none-elf",
target_arch: Arch::Msp430,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U16,
tier: Tier::Three,
};
pub(crate) const NVPTX64_NVIDIA_CUDA: Platform = Platform {
target_triple: "nvptx64-nvidia-cuda",
target_arch: Arch::Nvptx64,
target_os: OS::Cuda,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const POWERPC_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "powerpc-unknown-freebsd",
target_arch: Arch::PowerPc,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "powerpc-unknown-linux-gnu",
target_arch: Arch::PowerPc,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const POWERPC_UNKNOWN_LINUX_GNUSPE: Platform = Platform {
target_triple: "powerpc-unknown-linux-gnuspe",
target_arch: Arch::PowerPc,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "powerpc-unknown-linux-musl",
target_arch: Arch::PowerPc,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "powerpc-unknown-netbsd",
target_arch: Arch::PowerPc,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "powerpc-unknown-openbsd",
target_arch: Arch::PowerPc,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_WRS_VXWORKS: Platform = Platform {
target_triple: "powerpc-wrs-vxworks",
target_arch: Arch::PowerPc,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC_WRS_VXWORKS_SPE: Platform = Platform {
target_triple: "powerpc-wrs-vxworks-spe",
target_arch: Arch::PowerPc,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const POWERPC64_IBM_AIX: Platform = Platform {
target_triple: "powerpc64-ibm-aix",
target_arch: Arch::PowerPc64,
target_os: OS::Aix,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "powerpc64-unknown-freebsd",
target_arch: Arch::PowerPc64,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "powerpc64-unknown-linux-gnu",
target_arch: Arch::PowerPc64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const POWERPC64_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "powerpc64-unknown-linux-musl",
target_arch: Arch::PowerPc64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "powerpc64-unknown-openbsd",
target_arch: Arch::PowerPc64,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64_WRS_VXWORKS: Platform = Platform {
target_triple: "powerpc64-wrs-vxworks",
target_arch: Arch::PowerPc64,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64LE_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "powerpc64le-unknown-freebsd",
target_arch: Arch::PowerPc64,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const POWERPC64LE_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "powerpc64le-unknown-linux-gnu",
target_arch: Arch::PowerPc64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const POWERPC64LE_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "powerpc64le-unknown-linux-musl",
target_arch: Arch::PowerPc64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV32GC_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "riscv32gc-unknown-linux-gnu",
target_arch: Arch::Riscv32,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32GC_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "riscv32gc-unknown-linux-musl",
target_arch: Arch::Riscv32,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32I_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32i-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const RISCV32IM_RISC0_ZKVM_ELF: Platform = Platform {
target_triple: "riscv32im-risc0-zkvm-elf",
target_arch: Arch::Riscv32,
target_os: OS::Zkvm,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IM_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32im-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const RISCV32IMA_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32ima-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IMAC_ESP_ESPIDF: Platform = Platform {
target_triple: "riscv32imac-esp-espidf",
target_arch: Arch::Riscv32,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IMAC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32imac-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const RISCV32IMAC_UNKNOWN_XOUS_ELF: Platform = Platform {
target_triple: "riscv32imac-unknown-xous-elf",
target_arch: Arch::Riscv32,
target_os: OS::Xous,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IMAFC_ESP_ESPIDF: Platform = Platform {
target_triple: "riscv32imafc-esp-espidf",
target_arch: Arch::Riscv32,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IMAFC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32imafc-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const RISCV32IMC_ESP_ESPIDF: Platform = Platform {
target_triple: "riscv32imc-esp-espidf",
target_arch: Arch::Riscv32,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const RISCV32IMC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv32imc-unknown-none-elf",
target_arch: Arch::Riscv32,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const RISCV64_LINUX_ANDROID: Platform = Platform {
target_triple: "riscv64-linux-android",
target_arch: Arch::Riscv64,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "riscv64gc-unknown-freebsd",
target_arch: Arch::Riscv64,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_FUCHSIA: Platform = Platform {
target_triple: "riscv64gc-unknown-fuchsia",
target_arch: Arch::Riscv64,
target_os: OS::Fuchsia,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_HERMIT: Platform = Platform {
target_triple: "riscv64gc-unknown-hermit",
target_arch: Arch::Riscv64,
target_os: OS::Hermit,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "riscv64gc-unknown-linux-gnu",
target_arch: Arch::Riscv64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const RISCV64GC_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "riscv64gc-unknown-linux-musl",
target_arch: Arch::Riscv64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "riscv64gc-unknown-netbsd",
target_arch: Arch::Riscv64,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64GC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv64gc-unknown-none-elf",
target_arch: Arch::Riscv64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const RISCV64GC_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "riscv64gc-unknown-openbsd",
target_arch: Arch::Riscv64,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const RISCV64IMAC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "riscv64imac-unknown-none-elf",
target_arch: Arch::Riscv64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const S390X_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "s390x-unknown-linux-gnu",
target_arch: Arch::S390X,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const S390X_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "s390x-unknown-linux-musl",
target_arch: Arch::S390X,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const SPARC_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "sparc-unknown-linux-gnu",
target_arch: Arch::Sparc,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const SPARC_UNKNOWN_NONE_ELF: Platform = Platform {
target_triple: "sparc-unknown-none-elf",
target_arch: Arch::Sparc,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const SPARC64_UNKNOWN_LINUX_GNU: Platform = Platform {
target_triple: "sparc64-unknown-linux-gnu",
target_arch: Arch::Sparc64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const SPARC64_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "sparc64-unknown-netbsd",
target_arch: Arch::Sparc64,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const SPARC64_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "sparc64-unknown-openbsd",
target_arch: Arch::Sparc64,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const SPARCV9_SUN_SOLARIS: Platform = Platform {
target_triple: "sparcv9-sun-solaris",
target_arch: Arch::Sparc64,
target_os: OS::Solaris,
target_env: Env::None,
target_endian: Endian::Big,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const THUMBV4T_NONE_EABI: Platform = Platform {
target_triple: "thumbv4t-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const THUMBV5TE_NONE_EABI: Platform = Platform {
target_triple: "thumbv5te-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const THUMBV6M_NONE_EABI: Platform = Platform {
target_triple: "thumbv6m-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7A_PC_WINDOWS_MSVC: Platform = Platform {
target_triple: "thumbv7a-pc-windows-msvc",
target_arch: Arch::Arm,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const THUMBV7A_UWP_WINDOWS_MSVC: Platform = Platform {
target_triple: "thumbv7a-uwp-windows-msvc",
target_arch: Arch::Arm,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const THUMBV7EM_NONE_EABI: Platform = Platform {
target_triple: "thumbv7em-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7EM_NONE_EABIHF: Platform = Platform {
target_triple: "thumbv7em-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7M_NONE_EABI: Platform = Platform {
target_triple: "thumbv7m-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7NEON_LINUX_ANDROIDEABI: Platform = Platform {
target_triple: "thumbv7neon-linux-androideabi",
target_arch: Arch::Arm,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7NEON_UNKNOWN_LINUX_GNUEABIHF: Platform = Platform {
target_triple: "thumbv7neon-unknown-linux-gnueabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV7NEON_UNKNOWN_LINUX_MUSLEABIHF: Platform = Platform {
target_triple: "thumbv7neon-unknown-linux-musleabihf",
target_arch: Arch::Arm,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const THUMBV8M_BASE_NONE_EABI: Platform = Platform {
target_triple: "thumbv8m.base-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV8M_MAIN_NONE_EABI: Platform = Platform {
target_triple: "thumbv8m.main-none-eabi",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const THUMBV8M_MAIN_NONE_EABIHF: Platform = Platform {
target_triple: "thumbv8m.main-none-eabihf",
target_arch: Arch::Arm,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_UNKNOWN_EMSCRIPTEN: Platform = Platform {
target_triple: "wasm32-unknown-emscripten",
target_arch: Arch::Wasm32,
target_os: OS::Emscripten,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_UNKNOWN_UNKNOWN: Platform = Platform {
target_triple: "wasm32-unknown-unknown",
target_arch: Arch::Wasm32,
target_os: OS::Unknown,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_WASI: Platform = Platform {
target_triple: "wasm32-wasi",
target_arch: Arch::Wasm32,
target_os: OS::Wasi,
target_env: Env::P1,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_WASIP1: Platform = Platform {
target_triple: "wasm32-wasip1",
target_arch: Arch::Wasm32,
target_os: OS::Wasi,
target_env: Env::P1,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_WASIP1_THREADS: Platform = Platform {
target_triple: "wasm32-wasip1-threads",
target_arch: Arch::Wasm32,
target_os: OS::Wasi,
target_env: Env::P1,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const WASM32_WASIP2: Platform = Platform {
target_triple: "wasm32-wasip2",
target_arch: Arch::Wasm32,
target_os: OS::Wasi,
target_env: Env::P2,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const WASM64_UNKNOWN_UNKNOWN: Platform = Platform {
target_triple: "wasm64-unknown-unknown",
target_arch: Arch::Wasm64,
target_os: OS::Unknown,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_APPLE_DARWIN: Platform = Platform {
target_triple: "x86_64-apple-darwin",
target_arch: Arch::X86_64,
target_os: OS::MacOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::One,
};
pub(crate) const X86_64_APPLE_IOS: Platform = Platform {
target_triple: "x86_64-apple-ios",
target_arch: Arch::X86_64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_APPLE_IOS_MACABI: Platform = Platform {
target_triple: "x86_64-apple-ios-macabi",
target_arch: Arch::X86_64,
target_os: OS::iOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_APPLE_TVOS: Platform = Platform {
target_triple: "x86_64-apple-tvos",
target_arch: Arch::X86_64,
target_os: OS::TvOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_APPLE_WATCHOS_SIM: Platform = Platform {
target_triple: "x86_64-apple-watchos-sim",
target_arch: Arch::X86_64,
target_os: OS::WatchOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_FORTANIX_UNKNOWN_SGX: Platform = Platform {
target_triple: "x86_64-fortanix-unknown-sgx",
target_arch: Arch::X86_64,
target_os: OS::Unknown,
target_env: Env::Sgx,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_FUCHSIA: Platform = Platform {
target_triple: "x86_64-fuchsia",
target_arch: Arch::X86_64,
target_os: OS::Fuchsia,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_LINUX_ANDROID: Platform = Platform {
target_triple: "x86_64-linux-android",
target_arch: Arch::X86_64,
target_os: OS::Android,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_PC_NTO_QNX710: Platform = Platform {
target_triple: "x86_64-pc-nto-qnx710",
target_arch: Arch::X86_64,
target_os: OS::Nto,
target_env: Env::Nto71,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_PC_SOLARIS: Platform = Platform {
target_triple: "x86_64-pc-solaris",
target_arch: Arch::X86_64,
target_os: OS::Solaris,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) 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: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::One,
};
pub(crate) const X86_64_PC_WINDOWS_GNULLVM: Platform = Platform {
target_triple: "x86_64-pc-windows-gnullvm",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) 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: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::One,
};
pub(crate) const X86_64_UNIKRAFT_LINUX_MUSL: Platform = Platform {
target_triple: "x86_64-unikraft-linux-musl",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_DRAGONFLY: Platform = Platform {
target_triple: "x86_64-unknown-dragonfly",
target_arch: Arch::X86_64,
target_os: OS::Dragonfly,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_FREEBSD: Platform = Platform {
target_triple: "x86_64-unknown-freebsd",
target_arch: Arch::X86_64,
target_os: OS::FreeBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_FUCHSIA: Platform = Platform {
target_triple: "x86_64-unknown-fuchsia",
target_arch: Arch::X86_64,
target_os: OS::Fuchsia,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_HAIKU: Platform = Platform {
target_triple: "x86_64-unknown-haiku",
target_arch: Arch::X86_64,
target_os: OS::Haiku,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_HERMIT: Platform = Platform {
target_triple: "x86_64-unknown-hermit",
target_arch: Arch::X86_64,
target_os: OS::Hermit,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_ILLUMOS: Platform = Platform {
target_triple: "x86_64-unknown-illumos",
target_arch: Arch::X86_64,
target_os: OS::IllumOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_L4RE_UCLIBC: Platform = Platform {
target_triple: "x86_64-unknown-l4re-uclibc",
target_arch: Arch::X86_64,
target_os: OS::L4re,
target_env: Env::UClibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) 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: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::One,
};
pub(crate) const X86_64_UNKNOWN_LINUX_GNUX32: Platform = Platform {
target_triple: "x86_64-unknown-linux-gnux32",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_LINUX_MUSL: Platform = Platform {
target_triple: "x86_64-unknown-linux-musl",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Env::Musl,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_LINUX_NONE: Platform = Platform {
target_triple: "x86_64-unknown-linux-none",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_LINUX_OHOS: Platform = Platform {
target_triple: "x86_64-unknown-linux-ohos",
target_arch: Arch::X86_64,
target_os: OS::Linux,
target_env: Env::OhOS,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_NETBSD: Platform = Platform {
target_triple: "x86_64-unknown-netbsd",
target_arch: Arch::X86_64,
target_os: OS::NetBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_NONE: Platform = Platform {
target_triple: "x86_64-unknown-none",
target_arch: Arch::X86_64,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_OPENBSD: Platform = Platform {
target_triple: "x86_64-unknown-openbsd",
target_arch: Arch::X86_64,
target_os: OS::OpenBSD,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UNKNOWN_REDOX: Platform = Platform {
target_triple: "x86_64-unknown-redox",
target_arch: Arch::X86_64,
target_os: OS::Redox,
target_env: Env::Relibc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UNKNOWN_UEFI: Platform = Platform {
target_triple: "x86_64-unknown-uefi",
target_arch: Arch::X86_64,
target_os: OS::Uefi,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Two,
};
pub(crate) const X86_64_UWP_WINDOWS_GNU: Platform = Platform {
target_triple: "x86_64-uwp-windows-gnu",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_UWP_WINDOWS_MSVC: Platform = Platform {
target_triple: "x86_64-uwp-windows-msvc",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_WIN7_WINDOWS_MSVC: Platform = Platform {
target_triple: "x86_64-win7-windows-msvc",
target_arch: Arch::X86_64,
target_os: OS::Windows,
target_env: Env::Msvc,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64_WRS_VXWORKS: Platform = Platform {
target_triple: "x86_64-wrs-vxworks",
target_arch: Arch::X86_64,
target_os: OS::VxWorks,
target_env: Env::Gnu,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const X86_64H_APPLE_DARWIN: Platform = Platform {
target_triple: "x86_64h-apple-darwin",
target_arch: Arch::X86_64,
target_os: OS::MacOS,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U64,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32_ESPIDF: Platform = Platform {
target_triple: "xtensa-esp32-espidf",
target_arch: Arch::Xtensa,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32_NONE_ELF: Platform = Platform {
target_triple: "xtensa-esp32-none-elf",
target_arch: Arch::Xtensa,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32S2_ESPIDF: Platform = Platform {
target_triple: "xtensa-esp32s2-espidf",
target_arch: Arch::Xtensa,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32S2_NONE_ELF: Platform = Platform {
target_triple: "xtensa-esp32s2-none-elf",
target_arch: Arch::Xtensa,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32S3_ESPIDF: Platform = Platform {
target_triple: "xtensa-esp32s3-espidf",
target_arch: Arch::Xtensa,
target_os: OS::Espidf,
target_env: Env::Newlib,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};
pub(crate) const XTENSA_ESP32S3_NONE_ELF: Platform = Platform {
target_triple: "xtensa-esp32s3-none-elf",
target_arch: Arch::Xtensa,
target_os: OS::None,
target_env: Env::None,
target_endian: Endian::Little,
target_pointer_width: PointerWidth::U32,
tier: Tier::Three,
};