File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/tools/compiletest/src/runtest Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ impl TestCx<'_> {
234234 // FIXME(jieyouxu): there almost certainly is a better way to do this (specifically how the
235235 // support lib and its deps are organized), but this seems to work for now.
236236
237- let tools_bin = build_root . join ( "stage0-bootstrap-tools" ) ;
237+ let tools_bin = host_build_root . join ( "stage0-bootstrap-tools" ) ;
238238 let support_host_path = tools_bin. join ( & self . config . host ) . join ( "release" ) ;
239239 let support_lib_path = support_host_path. join ( "librun_make_support.rlib" ) ;
240240
@@ -265,7 +265,7 @@ impl TestCx<'_> {
265265 let stage0_rustc = if self . config . stage == 0 {
266266 self . config . rustc_path . clone ( )
267267 } else {
268- let mut p = build_root . join ( "stage0" ) . join ( "bin" ) . join ( "rustc" ) ;
268+ let mut p = host_build_root . join ( "stage0" ) . join ( "bin" ) . join ( "rustc" ) ;
269269 p. set_extension ( env:: consts:: EXE_EXTENSION ) ;
270270 p
271271 } ;
@@ -317,7 +317,7 @@ impl TestCx<'_> {
317317 ) ;
318318 } else {
319319 paths. push (
320- build_root
320+ host_build_root
321321 . join ( "stage0" )
322322 . join ( "lib" )
323323 . join ( "rustlib" )
You can’t perform that action at this time.
0 commit comments