mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -05:00
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:
parent
da2759161f
commit
1250609272
1 changed files with 1 additions and 0 deletions
|
@ -26,3 +26,4 @@ panic = "abort"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
codegen-units = 1
|
||||||
|
|
Loading…
Reference in a new issue