From 2124a85260fdf0851bb4de369d311bcfc05b205f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Wed, 29 Jan 2020 18:05:26 +0100 Subject: [PATCH] Don't use a whitelist for use_lld --- src/bootstrap/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 975522241035..5e4bedbeb28f 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -829,11 +829,7 @@ impl Build { && !target.contains("msvc") { Some(self.cc(target)) - } else if can_use_lld - && self.config.use_lld - && target.contains("pc-windows-msvc") - && self.build == target - { + } else if can_use_lld && self.config.use_lld && self.build == target { Some(&self.initial_lld) } else { None