File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ impl Step for Docs {
7575 /// Builds the `rust-docs` installer component.
7676 fn run ( self , builder : & Builder < ' _ > ) -> Option < GeneratedTarball > {
7777 let host = self . host ;
78- builder. default_doc ( & [ ] ) ;
78+ builder. run_default_doc_steps ( ) ;
7979
8080 let dest = "share/doc/rust/html" ;
8181
@@ -154,7 +154,7 @@ impl Step for RustcDocs {
154154 /// Builds the `rustc-docs` installer component.
155155 fn run ( self , builder : & Builder < ' _ > ) -> Option < GeneratedTarball > {
156156 let host = self . host ;
157- builder. default_doc ( & [ ] ) ;
157+ builder. run_default_doc_steps ( ) ;
158158
159159 let mut tarball = Tarball :: new ( builder, "rustc-docs" , & host. triple ) ;
160160 tarball. set_product_name ( "Rustc Documentation" ) ;
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ You can skip linkcheck with --skip src/tools/linkchecker"
153153 }
154154
155155 // Build all the default documentation.
156- builder. default_doc ( & [ ] ) ;
156+ builder. run_default_doc_steps ( ) ;
157157
158158 // Build the linkchecker before calling `msg`, since GHA doesn't support nested groups.
159159 let linkchecker = builder. tool_cmd ( Tool :: Linkchecker ) ;
@@ -208,7 +208,7 @@ impl Step for HtmlCheck {
208208 panic ! ( "Cannot run html-check tests" ) ;
209209 }
210210 // Ensure that a few different kinds of documentation are available.
211- builder. default_doc ( & [ ] ) ;
211+ builder. run_default_doc_steps ( ) ;
212212 builder. ensure ( crate :: core:: build_steps:: doc:: Rustc :: for_stage (
213213 builder,
214214 builder. top_stage ,
Original file line number Diff line number Diff line change @@ -1308,8 +1308,9 @@ impl<'a> Builder<'a> {
13081308 self . run_step_descriptions ( & Builder :: get_step_descriptions ( self . kind ) , & self . paths ) ;
13091309 }
13101310
1311- pub fn default_doc ( & self , paths : & [ PathBuf ] ) {
1312- self . run_step_descriptions ( & Builder :: get_step_descriptions ( Kind :: Doc ) , paths) ;
1311+ /// Run all default documentation steps to build documentation.
1312+ pub fn run_default_doc_steps ( & self ) {
1313+ self . run_step_descriptions ( & Builder :: get_step_descriptions ( Kind :: Doc ) , & [ ] ) ;
13131314 }
13141315
13151316 pub fn doc_rust_lang_org_channel ( & self ) -> String {
You can’t perform that action at this time.
0 commit comments