mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
detect-target: fallback on targets we don't explicitly have support for (#1574)
See #1573
This commit is contained in:
parent
7d25079422
commit
d02776c7fc
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue