ssh: Fix SSH to mac remotes (#20838)

Restore ability to SSH to macOS arm remotes (`uname -m` on mac == `arm64`).
Fix regression introduced in https://github.com/zed-industries/zed/pull/20618
This commit is contained in:
Peter Tripp 2024-11-18 22:17:24 +00:00 committed by GitHub
parent 889aac9c03
commit 8666ec95ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1568,6 +1568,7 @@ impl SshRemoteConnection {
// exclude armv5,6,7 as they are 32-bit.
let arch = if arch.starts_with("armv8")
|| arch.starts_with("armv9")
|| arch.starts_with("arm64")
|| arch.starts_with("aarch64")
{
"aarch64"