mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
more
This commit is contained in:
parent
9243224163
commit
02b8eaa7b2
5 changed files with 30 additions and 9 deletions
|
|
@ -52,6 +52,7 @@ pub fn run_test(code: &str, minimizes_to: &str, options: impl FnOnce(&mut Option
|
|||
|
||||
opts.project_dir = Some(cargo_dir);
|
||||
opts.path = path;
|
||||
opts.no_delete_functions = true;
|
||||
options(&mut opts);
|
||||
|
||||
cargo_minimize::minimize(opts, Arc::new(AtomicBool::new(false)))?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue