mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
pwetty
This commit is contained in:
parent
79b69fafb9
commit
64da92ab9e
7 changed files with 113 additions and 31 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue