diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index d29fb9b..51f6361 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -781,6 +781,12 @@ fn main() { // Self-update CLI if needed // (relay_commit is the "canonical" latest — if we differ from it, we're outdated) + // Skip on non-x86_64 Linux (e.g. ARM/Pi) — CI only builds x86_64 Linux binaries + #[cfg(all(not(target_os = "windows"), not(target_arch = "x86_64")))] + if cli_commit != relay_commit { + println!(" → Skipping CLI update (non-x86_64, update manually)"); + } + #[cfg(any(target_os = "windows", target_arch = "x86_64"))] if cli_commit != relay_commit { println!(" → Updating CLI..."); #[cfg(target_os = "windows")]