Skip to content

Commit c982d6a

Browse files
committed
pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuild
suggestion from Mark-Simulacrum
1 parent dd1df35 commit c982d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ impl<'a> Builder<'a> {
427427
} else {
428428
self.sysroot(compiler)
429429
})
430-
.env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build))
430+
.env("RUSTC_LIBDIR", self.rustc_libdir(compiler))
431431
.env("CFG_RELEASE_CHANNEL", &self.build.config.channel)
432432
.env("RUSTDOC_REAL", self.rustdoc(compiler));
433433
cmd

0 commit comments

Comments
 (0)