File tree 1 file changed +2
-1
lines changed
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 {
154
154
fn run ( self , builder : & Builder < ' _ > ) {
155
155
let compiler = builder. compiler ( self . stage , self . host ) ;
156
156
builder. ensure ( compile:: Rustc { compiler, target : compiler. host } ) ;
157
+ let cargo = builder. ensure ( tool:: Cargo { compiler, target : compiler. host } ) ;
157
158
158
159
// Note that this is a short, cryptic, and not scoped directory name. This
159
160
// is currently to minimize the length of path on Windows where we otherwise
@@ -165,7 +166,7 @@ impl Step for Cargotest {
165
166
let mut cmd = builder. tool_cmd ( Tool :: CargoTest ) ;
166
167
try_run (
167
168
builder,
168
- cmd. arg ( & builder . initial_cargo )
169
+ cmd. arg ( & cargo )
169
170
. arg ( & out_dir)
170
171
. env ( "RUSTC" , builder. rustc ( compiler) )
171
172
. env ( "RUSTDOC" , builder. rustdoc ( compiler) ) ,
You can’t perform that action at this time.
0 commit comments