Don't try and run on armv5/6/7 (#20618)
Updates: #20523 Release Notes: - SSH Remoting: correctly show an error when SSH'ing into a 32-bit arm system
This commit is contained in:
parent
84d17fb191
commit
7e349e52b1
1 changed files with 6 additions and 2 deletions
|
@ -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!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue