Merge pull request #3969 from element-hq/quenting/enable-lto
Enable fat LTO & reduce the number of codegen units
This commit is contained in:
@@ -412,6 +412,10 @@ features = ["serde"]
|
||||
[workspace.dependencies.wiremock]
|
||||
version = "0.6.2"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1 # Reduce the number of codegen units to increase optimizations
|
||||
lto = true # Enable fat LTO
|
||||
|
||||
# A few profile opt-level tweaks to make the test suite run faster
|
||||
[profile.dev.package]
|
||||
argon2.opt-level = 3
|
||||
|
||||
Reference in New Issue
Block a user