X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Ftest.rs;h=931d9a67944df704163193c9eb214f0bbdae1f55;hb=a709cc1f3254d5f23613b436544dc22fb927a081;hp=935ce5e7f84b3f154e9feec282b3b65937d6d284;hpb=a5efeb3ea766e41068f3c8b6c61b7bb73b8bcf5d;p=rust.git diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 935ce5e7f84..931d9a67944 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -16,6 +16,7 @@ use crate::compile; use crate::config::TargetSelection; use crate::dist; +use crate::doc::DocumentationFormat; use crate::flags::Subcommand; use crate::native; use crate::tool::{self, SourceType, Tool}; @@ -822,7 +823,11 @@ fn run(self, builder: &Builder<'_>) { command.arg("--test-file").arg(path); } } - builder.ensure(crate::doc::Std { target: self.target, stage: builder.top_stage }); + builder.ensure(crate::doc::Std { + target: self.target, + stage: builder.top_stage, + format: DocumentationFormat::HTML, + }); builder.run(&mut command); } else { builder.info("No nodejs found, skipping \"src/test/rustdoc-js-std\" tests");