Merge pull request #3969 from element-hq/quenting/enable-lto

Enable fat LTO & reduce the number of codegen units
This commit is contained in:
Quentin Gliech
2025-02-05 18:20:46 +01:00
committed by GitHub

View File

@@ -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