Change summary
crates/remote/src/ssh_session.rs | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Detailed changes
@@ -1553,9 +1553,13 @@ impl SshRemoteConnection {
"Prebuilt remote servers are not yet available for {os:?}. See https://zed.dev/docs/remote-development"
))?,
};
- let arch = if arch.starts_with("arm") || arch.starts_with("aarch64") {
+ // exclude armv5,6,7 as they are 32-bit.
+ let arch = if arch.starts_with("armv8")
+ || arch.starts_with("armv9")
+ || arch.starts_with("aarch64")
+ {
"aarch64"
- } else if arch.starts_with("x86") || arch.starts_with("i686") {
+ } else if arch.starts_with("x86") {
"x86_64"
} else {
Err(anyhow!(