Skip to content

Commit 9085703

Browse files
committed
bootstrap: remove redundant to_path_buf()
1 parent 2760d58 commit 9085703

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17761776
let sysroot = if builder.top_stage == 0 {
17771777
builder.initial_sysroot.clone()
17781778
} else {
1779-
builder.sysroot(compiler).to_path_buf()
1779+
builder.sysroot(compiler)
17801780
};
17811781

17821782
cmd.arg("--sysroot-base").arg(sysroot);

0 commit comments

Comments
 (0)