提交 c982d6a6 编写于 作者: S Sébastien Marie

pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuild

suggestion from Mark-Simulacrum
上级 dd1df35f
......@@ -427,7 +427,7 @@ pub fn rustdoc_cmd(&self, compiler: Compiler) -> Command {
} 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册