Skip to content

Commit

Permalink
pass rustc_libdir instead of sysroot_libdir() for running rustdoc fro…
Browse files Browse the repository at this point in the history
…m rustbuild

suggestion from Mark-Simulacrum
  • Loading branch information
semarie committed Aug 8, 2017
1 parent dd1df35 commit c982d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Expand Up @@ -427,7 +427,7 @@ impl<'a> Builder<'a> {
} else {
self.sysroot(compiler)
})
.env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build))
.env("RUSTC_LIBDIR", self.rustc_libdir(compiler))
.env("CFG_RELEASE_CHANNEL", &self.build.config.channel)
.env("RUSTDOC_REAL", self.rustdoc(compiler));
cmd
Expand Down

0 comments on commit c982d6a

Please sign in to comment.