Add -Z time-passes-format
to allow specifying a JSON output for -Z time-passes
This commit is contained in:
parent
b0dc15c61b
commit
f60d2eb6c1
12 changed files with 105 additions and 27 deletions
|
@ -786,6 +786,8 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
|
|||
total_codegen_time,
|
||||
start_rss.unwrap(),
|
||||
end_rss,
|
||||
tcx.sess.opts.unstable_opts.time_passes_format,
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue