perf(cli): Speed up with codegen-units

On `rust-lang/rust`, this took `typos --format silent` times from ~24s
to ~18s.  Enabling `lto = "thin"` was about the same as `lto = true` and
was sub-second improvement.
This commit is contained in:
Ed Page 2023-09-18 14:04:32 -05:00
parent da2759161f
commit 1250609272

View file

@ -26,3 +26,4 @@ panic = "abort"
[profile.release] [profile.release]
panic = "abort" panic = "abort"
codegen-units = 1