Skip to content

Commit

Permalink
Enable optimisations for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnrt committed Feb 1, 2024
1 parent 0a06962 commit 82a3d48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sw/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ resolver = "2"

[profile.release]
debug = true

[profile.dev]
opt-level = 1

[profile.dev.package.'*']
opt-level = 2

0 comments on commit 82a3d48

Please sign in to comment.