From cdb69556593c33023ca516795322ba75e6444b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Sat, 29 Feb 2020 11:54:33 +0100 Subject: [PATCH] Update src/bootstrap/dist.rs Co-Authored-By: kennytm --- src/bootstrap/dist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index d2f2bc56bdcb2..6d7ae7e91a678 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -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");