fix: skip CLI self-update on non-x86_64 (ARM/Pi)
This commit is contained in:
parent
b05517eadf
commit
33e1e4d550
1 changed files with 6 additions and 0 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue