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