File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ fn main_options(options: config::Options) -> MainResult {
568568 info ! ( "going to format" ) ;
569569 let ( error_format, edition, debugging_options) = diag_opts;
570570 let diag = core:: new_handler ( error_format, None , & debugging_options) ;
571- match output_format {
571+ let main_result = match output_format {
572572 None | Some ( config:: OutputFormat :: Html ) => sess. time ( "render_html" , || {
573573 run_renderer :: < html:: render:: Context < ' _ > > (
574574 krate,
@@ -589,7 +589,10 @@ fn main_options(options: config::Options) -> MainResult {
589589 tcx,
590590 )
591591 } ) ,
592- }
592+ } ;
593+ // NOTE: this is normally called in codegen, but rustdoc never goes to codegen.
594+ tcx. alloc_self_profile_query_strings ( ) ;
595+ main_result
593596 } )
594597 } )
595598 } )
You can’t perform that action at this time.
0 commit comments