Skip to main content

Mountain/Binary/IPC/ProcessCommand/
process_get_arch.rs

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