Fix copy-paste error in detect_targets_windows

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-01 19:46:30 +10:00
parent 8e58398f57
commit 1ec1f972b7
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -229,7 +229,7 @@ mod windows {
pub(super) fn detect_targets_windows() -> Vec<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
}