cargo: release profile performance enhancements

Former-commit-id: 2ae7e0f35eacb3ece5cbfa2afa4f7358e5ce0946
Former-commit-id: 6403b31e2f69708ae06231761940dfc8190b7a0a
This commit is contained in:
Muhammad Nauman Raza 2024-03-22 20:53:05 +00:00
parent cacf71b61c
commit c579734081

View file

@ -17,7 +17,10 @@ opt-level = 2
debug = true
[profile.release]
opt-level = 3
strip = true
codegen-units = 1
lto = "fat"
[profile.release-dev]
inherits = "release"