detect-target: fallback on targets we don't explicitly have support for (#1574)

See #1573
This commit is contained in:
Félix Saparelli 2024-01-15 00:59:24 +13:00 committed by GitHub
parent 7d25079422
commit d02776c7fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,8 @@ pub async fn detect_targets() -> Vec<String> {
// Linux is a bit special, since the result from `guess_host_triple` // Linux is a bit special, since the result from `guess_host_triple`
// might be wrong about whether glibc or musl is used. // might be wrong about whether glibc or musl is used.
linux::detect_targets(target).await linux::detect_targets(target).await
} else {
vec![target]
} }
} }
} }