Skip to content

Commit d730a9e

Browse files
committed
[DO NOT MERGE] Log what --channel compiletest was told
1 parent e612cc2 commit d730a9e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/tools/compiletest/src/main.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ fn main() {
1818

1919
let config = Arc::new(parse_config(env::args().collect()));
2020

21+
eprintln!("INFO: compiletest was told channel=`{}`", config.channel);
22+
eprintln!("INFO: rustc -vV reports:");
23+
eprintln!(
24+
"{}",
25+
String::from_utf8(
26+
std::process::Command::new(&config.rustc_path).arg("-vV").output().unwrap().stdout
27+
)
28+
.unwrap()
29+
);
30+
2131
if !config.has_html_tidy && config.mode == Mode::Rustdoc {
2232
eprintln!("warning: `tidy` (html-tidy.org) is not installed; diffs will not be generated");
2333
}

0 commit comments

Comments
 (0)