mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
Merge pull request #45 from hexedtech/feat/small-binaries
feat: optimize release build for smaller size
This commit is contained in:
commit
85630d2667
1 changed files with 7 additions and 0 deletions
|
@ -80,3 +80,10 @@ luajit = ["lua", "mlua-codemp-patch/luajit"]
|
|||
|
||||
[package.metadata.docs.rs] # enabled features when building on docs.rs
|
||||
features = ["serialize"]
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z'
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = 'abort'
|
||||
strip = 'symbols'
|
||||
|
|
Loading…
Reference in a new issue