diff options
| author | O01eg <o01eg@yandex.ru> | 2019-03-15 08:50:08 +0300 |
|---|---|---|
| committer | O01eg <o01eg@yandex.ru> | 2019-03-15 08:50:08 +0300 |
| commit | bcf1a179aed651fe27fef7578bfc25b063a33a8e (patch) | |
| tree | 33ba906afb2cb303df1683e88b08af4de888b54b | |
| parent | bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 (diff) | |
| download | rust-bcf1a179aed651fe27fef7578bfc25b063a33a8e.tar.gz rust-bcf1a179aed651fe27fef7578bfc25b063a33a8e.zip | |
Output diagnostic information for rustdoc.
Use the information same as rustc.
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index 36beec3a944..085f243785c 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -35,7 +35,7 @@ fn main() { .arg("--cfg") .arg("dox") .arg("--sysroot") - .arg(sysroot) + .arg(&sysroot) .env(bootstrap::util::dylib_path_var(), env::join_paths(&dylib_path).unwrap()); @@ -72,7 +72,13 @@ fn main() { } if verbose > 1 { - eprintln!("rustdoc command: {:?}", cmd); + eprintln!( + "rustdoc command: {:?}={:?} {:?}", + bootstrap::util::dylib_path_var(), + env::join_paths(&dylib_path).unwrap(), + cmd, + ); + eprintln!("sysroot: {:?}", sysroot); eprintln!("libdir: {:?}", libdir); } |
