mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Fix copy-paste error in detect_targets_windows
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
8e58398f57
commit
1ec1f972b7
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ mod windows {
|
||||||
pub(super) fn detect_targets_windows() -> Vec<String> {
|
pub(super) fn detect_targets_windows() -> Vec<String> {
|
||||||
let mut targets = vec![guess_host_triple().unwrap_or(TARGET).to_string()];
|
let mut targets = vec![guess_host_triple().unwrap_or(TARGET).to_string()];
|
||||||
|
|
||||||
targets.extend(windows::detect_alternative_targets(&targets[0]));
|
targets.extend(detect_alternative_targets(&targets[0]));
|
||||||
|
|
||||||
targets
|
targets
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue