mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
Run everybody-loops before privatize
everybody-loops should reduce lots of compile time, so it makes sense to run first.
This commit is contained in:
parent
1b5d2f6228
commit
c9db921f04
1 changed files with 1 additions and 1 deletions
|
|
@ -138,8 +138,8 @@ pub fn minimize(options: Options, stop: Arc<AtomicBool>) -> Result<()> {
|
|||
let mut minimizer = Minimizer::new_glob_dir(options, build, stop)?;
|
||||
|
||||
minimizer.run_passes([
|
||||
passes::Privatize::default().boxed(),
|
||||
passes::EverybodyLoops::default().boxed(),
|
||||
passes::Privatize::default().boxed(),
|
||||
passes::FieldDeleter::default().boxed(),
|
||||
passes::ItemDeleter::default().boxed(),
|
||||
])?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue