mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 11:10:02 +00:00
Fix x86_64 fallback for aarch64 MacOS (#875)
This commit is contained in:
parent
9c617c2f8a
commit
a22cb3a332
2 changed files with 23 additions and 3 deletions
|
@ -61,7 +61,7 @@ pub async fn detect_targets() -> Vec<String> {
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(target_os = "macos")] {
|
||||
targets.extend(macos::detect_alternative_targets(&targets[0]));
|
||||
targets.extend(macos::detect_alternative_targets(&targets[0]).await);
|
||||
} else if #[cfg(target_os = "windows")] {
|
||||
targets.extend(windows::detect_alternative_targets(&targets[0]));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue