Skip to content

Commit a380c4f

Browse files
committed
Enable LTO on release builds
1 parent 46694a7 commit a380c4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,11 @@ features = ["serde"]
416416
[workspace.dependencies.wiremock]
417417
version = "0.6.2"
418418

419+
# Slower compilation times for better performance
420+
[profile.release]
421+
lto = true
422+
codegen-units = 1
423+
419424
# A few profile opt-level tweaks to make the test suite run faster
420425
[profile.dev.package]
421426
argon2.opt-level = 3

0 commit comments

Comments
 (0)