File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1041,15 +1041,11 @@ impl<'a> Builder<'a> {
10411041            } 
10421042        } 
10431043
1044-         // FIXME: Don't use LLD with MSVC if we're compiling libtest, since it fails to link it. 
1045-         // See https://github.com/rust-lang/rust/issues/68647. 
1046-         let  can_use_lld = mode != Mode :: Std ; 
1047- 
1048-         if  let  Some ( host_linker)  = self . linker ( compiler. host ,  can_use_lld)  { 
1044+         if  let  Some ( host_linker)  = self . linker ( compiler. host ,  true )  { 
10491045            cargo. env ( "RUSTC_HOST_LINKER" ,  host_linker) ; 
10501046        } 
10511047
1052-         if  let  Some ( target_linker)  = self . linker ( target,  can_use_lld )  { 
1048+         if  let  Some ( target_linker)  = self . linker ( target,  true )  { 
10531049            let  target = crate :: envify ( & target. triple ) ; 
10541050            cargo. env ( & format ! ( "CARGO_TARGET_{}_LINKER" ,  target) ,  target_linker) ; 
10551051        } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments