]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/tool.rs
Auto merge of #95024 - koehlma:rustdoc-private-items, r=GuillaumeGomez,camelid,jsha
[rust.git] / src / bootstrap / tool.rs
index 2ae4d830721e8ad2f22ab900cc998d62d7297fa4..a9ca89bdea1ce8bcf6677e623cf744e05e7f763b 100644 (file)
@@ -391,7 +391,7 @@ pub fn command(builder: &Builder<'_>) -> Command {
         add_dylib_path(
             vec![
                 PathBuf::from(&builder.sysroot_libdir(compiler, compiler.host)),
-                PathBuf::from(builder.rustc_libdir(compiler)),
+                builder.rustc_libdir(compiler),
             ],
             &mut cmd,
         );