Skip to main content

Mountain/Binary/IPC/ProcessCommand/
process_get_arch.rs

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