Skip to content

Commit d3eb107

Browse files
committed
bootstrap: remove redundant to_path_buf()
1 parent 8b55659 commit d3eb107

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
@@ -1775,7 +1775,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17751775
let sysroot = if builder.top_stage == 0 {
17761776
builder.initial_sysroot.clone()
17771777
} else {
1778-
builder.sysroot(compiler).to_path_buf()
1778+
builder.sysroot(compiler)
17791779
};
17801780

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

0 commit comments

Comments
 (0)