Skip to content

Commit 7d2e4e4

Browse files
committed
bootstrap: remove redundant to_path_buf()
1 parent 5238337 commit 7d2e4e4

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
@@ -1785,7 +1785,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17851785
let sysroot = if builder.top_stage == 0 {
17861786
builder.initial_sysroot.clone()
17871787
} else {
1788-
builder.sysroot(compiler).to_path_buf()
1788+
builder.sysroot(compiler)
17891789
};
17901790

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

0 commit comments

Comments
 (0)