Skip to content

Commit 382e6eb

Browse files
committed
install arm64 xwin on arm64
1 parent b3d8275 commit 382e6eb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/sdk.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,10 @@ fn download_xwin(dest: &Path) -> Result<(), Box<dyn std::error::Error>> {
761761
"aarch64-apple-darwin.tar.gz",
762762
#[cfg(all(target_os = "macos", target_arch = "x86_64"))]
763763
"x86_64-apple-darwin.tar.gz",
764-
#[cfg(not(target_os = "macos"))]
765-
"x86_64-unknown-linux-musl.tar.gz",
764+
#[cfg(all(not(target_os = "macos"), target_arch = "aarch64"))]
765+
"aarch64-unknown-linux-musl.tar.gz",
766+
#[cfg(all(not(target_os = "macos"), target_arch = "x86_64"))]
767+
"x86_64-unknown-linux-musl.tar.gz"
766768
)
767769
})
768770
})

0 commit comments

Comments
 (0)