diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 960abb31b201..9f365474a70c 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1776,6 +1776,8 @@ impl Step for BookTest { /// /// This uses the `rustdoc` that sits next to `compiler`. fn run(self, builder: &Builder<'_>) { + let host = self.compiler.host; + let _guard = builder.msg(Kind::Test, self.compiler.stage, &format!("book {}", self.name), host, host); // External docs are different from local because: // - Some books need pre-processing by mdbook before being tested. // - They need to save their state to toolstate. @@ -1967,7 +1969,7 @@ fn markdown_test(builder: &Builder<'_>, compiler: Compiler, markdown: &Path) -> } } - builder.info(&format!("doc tests for: {}", markdown.display())); + builder.verbose(&format!("doc tests for: {}", markdown.display())); let mut cmd = builder.rustdoc_cmd(compiler); builder.add_rust_test_threads(&mut cmd); // allow for unstable options such as new editions