Add -Zhir-stats for collecting statistics on HIR and AST
This commit is contained in:
parent
ac919fcd9d
commit
94e655eca6
5 changed files with 428 additions and 2 deletions
|
|
@ -918,6 +918,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
|||
"the directory the MIR is dumped into"),
|
||||
perf_stats: bool = (false, parse_bool, [UNTRACKED],
|
||||
"print some performance-related statistics"),
|
||||
hir_stats: bool = (false, parse_bool, [UNTRACKED],
|
||||
"print some statistics about AST and HIR"),
|
||||
}
|
||||
|
||||
pub fn default_lib_output() -> CrateType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue