Add --memory-usage to analysis-bench

This commit is contained in:
Jonas Schievink
2020-07-15 12:14:51 +02:00
parent 77425c21c7
commit 9086c8c663
5 changed files with 44 additions and 22 deletions

View File

@@ -49,11 +49,12 @@ fn main() -> Result<()> {
load_output_dirs,
with_proc_macro,
)?,
args::Command::Bench { path, what, load_output_dirs, with_proc_macro } => {
args::Command::Bench { memory_usage, path, what, load_output_dirs, with_proc_macro } => {
cli::analysis_bench(
args.verbosity,
path.as_ref(),
what,
memory_usage,
load_output_dirs,
with_proc_macro,
)?