Skip to content

Commit 2e1104f

Browse files
committed
Rollup merge of rust-lang#59204 - o01eg:diag-rustdoc, r=alexcrichton
Output diagnostic information for rustdoc Use the information same as rustc.
2 parents 524a7af + bcf1a17 commit 2e1104f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/bootstrap/bin/rustdoc.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn main() {
3535
.arg("--cfg")
3636
.arg("dox")
3737
.arg("--sysroot")
38-
.arg(sysroot)
38+
.arg(&sysroot)
3939
.env(bootstrap::util::dylib_path_var(),
4040
env::join_paths(&dylib_path).unwrap());
4141

@@ -72,7 +72,13 @@ fn main() {
7272
}
7373

7474
if verbose > 1 {
75-
eprintln!("rustdoc command: {:?}", cmd);
75+
eprintln!(
76+
"rustdoc command: {:?}={:?} {:?}",
77+
bootstrap::util::dylib_path_var(),
78+
env::join_paths(&dylib_path).unwrap(),
79+
cmd,
80+
);
81+
eprintln!("sysroot: {:?}", sysroot);
7682
eprintln!("libdir: {:?}", libdir);
7783
}
7884

0 commit comments

Comments
 (0)