feat: tune compilation for size
All checks were successful
/ build (push) Successful in 1s
/ check (push) Successful in 8s
/ report-size (push) Successful in 2s

Reduce size by setting `codegen-units = 1` in release mode.
This commit is contained in:
Jalil David Salamé Messina 2025-01-23 21:29:11 +01:00
parent a2735b46b5
commit e5f7d94f77
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -42,6 +42,7 @@ opt-level = "s"
panic = "abort"
lto = true
strip = true
codegen-units = 1
[profile.dev]
debug = 0