Skip to content

Commit

Permalink
[Build Profile] Optimising the relase build profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Markuze committed Aug 5, 2022
1 parent 194f320 commit 2b39ad2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@ default-members = [
debug = true
overflow-checks = true

[profile.performance]
inherits = "release"
opt-level = 3
debug = true
overflow-checks = false
lto = true
codegen-units = 1

[profile.cli]
inherits = "release"
debug = false
Expand Down

0 comments on commit 2b39ad2

Please sign in to comment.