build: enable LTO, set codegen-unit to 1 and strip the binary (#467)
Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
This commit is contained in:
parent
9178b50b73
commit
9c938c6210
1 changed files with 5 additions and 0 deletions
|
@ -31,3 +31,8 @@ once_cell = "1.16.0"
|
|||
|
||||
[dev-dependencies]
|
||||
lipsum = "0.8.2"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
strip = true
|
Loading…
Reference in a new issue