Skip to main content

Mountain/Binary/IPC/ProcessCommand/
process_get_arch.rs

1//! Tauri command - return the CPU architecture string
2//! (`x86_64` / `aarch64` / …) from `std::env::consts::ARCH`.
3
4#[tauri::command]
5pub async fn process_get_arch() -> Result<String, String> { Ok(std::env::consts::ARCH.to_string()) }