feat(bench): add --no-run flag (#18433)

This commit is contained in:
Geert-Jan Zwiers 2023-03-26 16:55:58 +02:00 committed by GitHub
parent 701099b2a9
commit a29d88b43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 0 deletions

View file

@ -119,6 +119,7 @@ pub struct BenchOptions {
pub files: FilesConfig,
pub filter: Option<String>,
pub json: bool,
pub no_run: bool,
}
impl BenchOptions {
@ -134,6 +135,7 @@ impl BenchOptions {
),
filter: bench_flags.filter,
json: bench_flags.json,
no_run: bench_flags.no_run,
})
}
}