cli: fix download for arm32 linux (#173374)

Once again, wishing target_* were statically typed...

Fixes https://github.com/microsoft/vscode-remote-release/issues/7631
This commit is contained in:
Connor Peet
2023-02-03 13:30:31 -08:00
committed by GitHub
parent 9992acd9af
commit 40f31f92d0
2 changed files with 2 additions and 2 deletions

View File

@@ -287,7 +287,7 @@ impl Platform {
Some(Platform::LinuxAlpineARM64)
} else if cfg!(all(target_os = "linux", target_arch = "x86_64")) {
Some(Platform::LinuxX64)
} else if cfg!(all(target_os = "linux", target_arch = "armhf")) {
} else if cfg!(all(target_os = "linux", target_arch = "arm")) {
Some(Platform::LinuxARM32)
} else if cfg!(all(target_os = "linux", target_arch = "aarch64")) {
Some(Platform::LinuxARM64)