Skip to content

Commit

Permalink
Cargo.toml: Optimize debug builds (#38)
Browse files Browse the repository at this point in the history
Set opt-level=3 for both profile.dev and profile.test.
  • Loading branch information
sjackman authored Oct 26, 2021
1 parent f3e3733 commit a6c0b62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ anyhow = { version = "1.0", features = ["backtrace"] }
[profile.release]
debug = 1
lto = true

[profile.dev]
opt-level = 3

[profile.test]
opt-level = 3

0 comments on commit a6c0b62

Please sign in to comment.