1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//! Thin CLI wrapper so the workload is runnable as a binary, not just a lib.
use clap::Parser;
use bench_rust_build::{run, Config};
fn main() -> anyhow::Result<()> {
let cfg = Config::parse();
let selected = run(cfg.clone())?;
println!(
"items/round={} rounds={} selected={}",
cfg.items, cfg.rounds, selected
);
Ok(())
}
|