diff options
| author | O01eg <o01eg@yandex.ru> | 2018-07-16 19:17:14 +0300 |
|---|---|---|
| committer | O01eg <o01eg@yandex.ru> | 2018-07-16 19:17:14 +0300 |
| commit | 10b65fa603f600dee57f14f8b67f2d7c391de2cd (patch) | |
| tree | 66a0d98db90dac15917a556f7ac800801d0fad18 /src/bootstrap/bin | |
| parent | 3d5753fda1ee8f729da1061e931e13b043f479a5 (diff) | |
| download | rust-10b65fa603f600dee57f14f8b67f2d7c391de2cd.tar.gz rust-10b65fa603f600dee57f14f8b67f2d7c391de2cd.zip | |
Revert some changes from #51917 to fix #52317.
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index 798d5c3eb67..a54e58665cc 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -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() { |
