about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-04 21:30:36 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-23 21:47:15 +0800
commit7d2e4e4b6966ae4646e4f87800dafe6cc1b839c2 (patch)
tree0c311de9d4b4e3b6c3795a578abe502d5d8e78d3 /src/bootstrap
parent5238337d522351eaa71659c3865b6bd7cf9341c6 (diff)
downloadrust-7d2e4e4b6966ae4646e4f87800dafe6cc1b839c2.tar.gz
rust-7d2e4e4b6966ae4646e4f87800dafe6cc1b839c2.zip
bootstrap: remove redundant `to_path_buf()`
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs
index cdb1ae70ab6..2053e9c97d7 100644
--- a/src/bootstrap/src/core/build_steps/test.rs
+++ b/src/bootstrap/src/core/build_steps/test.rs
@@ -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);