next #1
|
@ -24,10 +24,12 @@ branch = "next"
|
||||||
[lints.clippy]
|
[lints.clippy]
|
||||||
incompatible_msrv = "forbid"
|
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]
|
[profile.size-optimized]
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
opt-level = 'z' # Optimize for size
|
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
|
panic = 'abort' # Abort on panic
|
||||||
strip = true # Strip symbols from binary
|
strip = true # Strip symbols from binary
|
||||||
|
|
Loading…
Reference in a new issue