Skip to content

Commit

Permalink
Rollup merge of rust-lang#59204 - o01eg:diag-rustdoc, r=alexcrichton
Browse files Browse the repository at this point in the history
Output diagnostic information for rustdoc

Use the information same as rustc.
  • Loading branch information
Centril committed Mar 16, 2019
2 parents e3258bd + bcf1a17 commit 608436b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/bootstrap/bin/rustdoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 608436b

Please sign in to comment.