File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ impl Step for Cargotest {
154154fn  run ( self ,  builder :  & Builder < ' _ > )  { 
155155        let  compiler = builder. compiler ( self . stage ,  self . host ) ; 
156156        builder. ensure ( compile:: Rustc  {  compiler,  target :  compiler. host  } ) ; 
157+         let  cargo = builder. ensure ( tool:: Cargo  {  compiler,  target :  compiler. host  } ) ; 
157158
158159        // Note that this is a short, cryptic, and not scoped directory name. This 
159160        // is currently to minimize the length of path on Windows where we otherwise 
@@ -165,7 +166,7 @@ impl Step for Cargotest {
165166        let  mut  cmd = builder. tool_cmd ( Tool :: CargoTest ) ; 
166167        try_run ( 
167168            builder, 
168-             cmd. arg ( & builder . initial_cargo ) 
169+             cmd. arg ( & cargo ) 
169170                . arg ( & out_dir) 
170171                . env ( "RUSTC" ,  builder. rustc ( compiler) ) 
171172                . env ( "RUSTDOC" ,  builder. rustdoc ( compiler) ) , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments