create optimized production build

fix nightly build
This commit is contained in:
lukas committed 2022-12-08 14:22:37 +01:00
1 parent 536d355462
commit 36523a1203
2 files changed
+13 -3

No files matched your search

+7
View File
@@ -12,3 +12,10 @@ rust-embed = "6.4.2"
[features]
static = []
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*