This commit is contained in:
nora 2022-12-20 17:59:17 +01:00
parent 79b69fafb9
commit 64da92ab9e
7 changed files with 113 additions and 31 deletions

View file

@ -33,6 +33,9 @@ pub struct Options {
#[arg(long)]
cargo_args: Option<String>,
#[arg(long)]
no_color: bool,
#[arg(long)]
rustc: bool,
#[arg(long)]
@ -74,7 +77,7 @@ pub fn minimize() -> Result<()> {
let build = build::Build::new(&options);
let mut minimizer = Minimizer::new_glob_dir(&options.path, build);
let mut minimizer = Minimizer::new_glob_dir(options, build);
minimizer.run_passes([
Box::<privatize::Privatize>::default() as Box<dyn Processor>,