Revert some changes from #51917 to fix #52317.

This commit is contained in:
O01eg
2018-07-16 19:17:14 +03:00
parent 3d5753fda1
commit 10b65fa603
2 changed files with 3 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ fn main() {
};
let mut dylib_path = bootstrap::util::dylib_path();
dylib_path.insert(0, PathBuf::from(libdir));
dylib_path.insert(0, PathBuf::from(libdir.clone()));
let mut cmd = Command::new(rustdoc);
cmd.args(&args)
@@ -69,6 +69,7 @@ fn main() {
if verbose > 1 {
eprintln!("rustdoc command: {:?}", cmd);
eprintln!("libdir: {:?}", libdir);
}
std::process::exit(match cmd.status() {