Update src/bootstrap/dist.rs

Co-Authored-By: kennytm <kennytm@gmail.com>
This commit is contained in:
Mateusz Mikuła 2020-02-29 11:54:33 +01:00 committed by Mateusz Mikuła
parent 3713ed67fd
commit cdb6955659

View File

@ -241,7 +241,7 @@ fn make_win_dist(
} else {
"gcc.exe"
};
let target_tools = [&compiler, "ld.exe", "dlltool.exe", "libwinpthread-1.dll"];
let target_tools = [compiler, "ld.exe", "dlltool.exe", "libwinpthread-1.dll"];
let mut rustc_dlls = vec!["libwinpthread-1.dll"];
if target_triple.starts_with("i686-") {
rustc_dlls.push("libgcc_s_dw2-1.dll");