cargo: release profile performance enhancements
Former-commit-id: 2ae7e0f35eacb3ece5cbfa2afa4f7358e5ce0946 Former-commit-id: 6403b31e2f69708ae06231761940dfc8190b7a0a
This commit is contained in:
parent
cacf71b61c
commit
c579734081
|
@ -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"
|
||||
|
|
Reference in a new issue