create optimized production build
fix nightly build
This commit is contained in:
@ -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*
|
||||
|
Reference in New Issue
Block a user