We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4c921 commit 721f2e7Copy full SHA for 721f2e7
src/bootstrap/builder.rs
@@ -800,10 +800,7 @@ impl<'a> Builder<'a> {
800
cargo.env("RUSTC_ERROR_FORMAT", error_format);
801
}
802
if cmd != "build" && cmd != "check" && want_rustdoc {
803
- cargo.env(
804
- "RUSTDOC_LIBDIR",
805
- self.rustc_libdir(self.compiler(2, self.config.build)),
806
- );
+ cargo.env("RUSTDOC_LIBDIR", self.sysroot_libdir(compiler, self.config.build));
807
808
809
if mode.is_tool() {
0 commit comments