mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
cli: fix arch check for musl arm64 (#172092)
Fixes https://github.com/microsoft/vscode-remote-release/issues/7812 Wish Rust had compilation errors for bad compile time checks :(
This commit is contained in:
parent
751e7c713c
commit
618da1e00a
|
@ -105,7 +105,7 @@ impl PreReqChecker {
|
|||
|
||||
#[allow(dead_code)]
|
||||
async fn check_musl_interpreter() -> Result<(), String> {
|
||||
const MUSL_PATH: &str = if cfg!(target_platform = "aarch64") {
|
||||
const MUSL_PATH: &str = if cfg!(target_arch = "aarch64") {
|
||||
"/lib/ld-musl-aarch64.so.1"
|
||||
} else {
|
||||
"/lib/ld-musl-x86_64.so.1"
|
||||
|
|
Loading…
Reference in a new issue