Files
rust-discovery/crates/agent-windows/src/release_platform.rs
T

15 lines
809 B
Rust

//! The release catalog distinguishes the two Windows ABIs even on the same CPU.
#[cfg(all(windows, target_env = "gnu"))]
pub const WIRE: rmm_domain::agent_update::Platform =
rmm_domain::agent_update::Platform::WindowsGnuX64;
#[cfg(not(all(windows, target_env = "gnu")))]
pub const WIRE: rmm_domain::agent_update::Platform = rmm_domain::agent_update::Platform::WindowsX64;
#[cfg(all(windows, target_env = "gnu"))]
pub const VERIFY: rmm_updater::Platform = rmm_updater::Platform::WindowsGnuX64;
#[cfg(not(all(windows, target_env = "gnu")))]
pub const VERIFY: rmm_updater::Platform = rmm_updater::Platform::WindowsX64;
#[cfg(all(windows, target_env = "gnu"))]
pub const TRIPLE: &str = "x86_64-pc-windows-gnu";
#[cfg(not(all(windows, target_env = "gnu")))]
pub const TRIPLE: &str = "x86_64-pc-windows-msvc";