Skip to content

Commit 9ea382b

Browse files
committed
Fix compilation after rebase
1 parent 38fb5ca commit 9ea382b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/compiletest/src/runtest/run_make.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)