Fix x86_64 fallback for aarch64 MacOS (#875)

This commit is contained in:
Jiahao XU 2023-03-10 22:09:16 +11:00 committed by GitHub
parent 9c617c2f8a
commit a22cb3a332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 3 deletions

View file

@ -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]));
}