Skip to main content

detect_platform

Function detect_platform 

Source
pub fn detect_platform() -> (&'static str, &'static str)
Expand description

Detect the current platform for download URL resolution. Returns (platform, arch) matching rust-analyzer’s naming convention.