mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
feat: optimize release build for smaller size
This commit is contained in:
parent
306a687354
commit
8f94b29925
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