From 62c1eba00b83e7c8bf9b42738161b52c9741e32f Mon Sep 17 00:00:00 2001 From: SilverMira <66930495+SilverMira@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:41:25 +0800 Subject: [PATCH] fix: cpu_family arm64 should be aarch64 --- core/src/connection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/connection/mod.rs b/core/src/connection/mod.rs index 2e9bbdb43..6f2c7d440 100644 --- a/core/src/connection/mod.rs +++ b/core/src/connection/mod.rs @@ -101,7 +101,7 @@ pub async fn authenticate( let cpu_family = match std::env::consts::ARCH { "blackfin" => CpuFamily::CPU_BLACKFIN, - "arm" | "arm64" => CpuFamily::CPU_ARM, + "arm" | "aarch64" => CpuFamily::CPU_ARM, "ia64" => CpuFamily::CPU_IA64, "mips" => CpuFamily::CPU_MIPS, "ppc" => CpuFamily::CPU_PPC,