Merge pull request #45 from hexedtech/feat/small-binaries

feat: optimize release build for smaller size
This commit is contained in:
əlemi 2024-10-13 23:35:51 +02:00 committed by GitHub
commit 85630d2667
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'