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 {
568
568
info ! ( "going to format" ) ;
569
569
let ( error_format, edition, debugging_options) = diag_opts;
570
570
let diag = core:: new_handler ( error_format, None , & debugging_options) ;
571
- match output_format {
571
+ let main_result = match output_format {
572
572
None | Some ( config:: OutputFormat :: Html ) => sess. time ( "render_html" , || {
573
573
run_renderer :: < html:: render:: Context < ' _ > > (
574
574
krate,
@@ -589,7 +589,10 @@ fn main_options(options: config::Options) -> MainResult {
589
589
tcx,
590
590
)
591
591
} ) ,
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
593
596
} )
594
597
} )
595
598
} )
You can’t perform that action at this time.
0 commit comments