This commit is contained in:
parent
4144db2d21
commit
558964bfb1
|
@ -24,10 +24,12 @@ branch = "next"
|
|||
[lints.clippy]
|
||||
incompatible_msrv = "forbid"
|
||||
|
||||
[profile.release]
|
||||
lto = true # Enable link-time optimization
|
||||
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
||||
|
||||
[profile.size-optimized]
|
||||
inherits = "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
|
||||
|
|
Loading…
Reference in a new issue