mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +00:00
Fix detect_targets
for win and other targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6b764b0b3f
commit
c9c3cffb25
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ pub async fn detect_targets() -> ArrayVec<Box<str>, 2> {
|
|||
}
|
||||
#[cfg(not(any(target_os = "linux", target_os = "macos")))]
|
||||
{
|
||||
vec![TARGET.into()]
|
||||
from_array([TARGET.into()])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue