Skip to content

Commit

Permalink
bootstrap: remove redundant to_path_buf()
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Feb 23, 2025
1 parent 5238337 commit 7d2e4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
let sysroot = if builder.top_stage == 0 {
builder.initial_sysroot.clone()
} else {
builder.sysroot(compiler).to_path_buf()
builder.sysroot(compiler)
};

cmd.arg("--sysroot-base").arg(sysroot);
Expand Down

0 comments on commit 7d2e4e4

Please sign in to comment.