Skip to content

Commit 184b115

Browse files
chetankokilchetankokil
chetankokil
authored and
chetankokil
committed
reverted changes, as earlier changes was appropriate
1 parent 8a97952 commit 184b115

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/compile.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,11 +1106,11 @@ impl Step for Sysroot {
11061106
let compiler = self.compiler;
11071107
let host_dir = builder.out.join(&compiler.host.triple);
11081108
let sysroot = if compiler.stage == 0 {
1109-
builder.out.join(&compiler.host.triple).join("stage0-sysroot")
1109+
host_dir.join("stage0-sysroot")
11101110
} else if builder.download_rustc() {
1111-
builder.out.join(&compiler.host.triple).join("ci-rustc-sysroot")
1111+
host_dir.join("ci-rustc-sysroot")
11121112
} else {
1113-
builder.out.join(&compiler.host.triple).join(format!("stage{}", compiler.stage))
1113+
host_dir.join(format!("stage{}", compiler.stage))
11141114
};
11151115
let _ = fs::remove_dir_all(&sysroot);
11161116
t!(fs::create_dir_all(&sysroot));

0 commit comments

Comments
 (0)