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 Jan 18, 2024
1 parent 0acffd2 commit 2d7bfe6
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 2d7bfe6

Please sign in to comment.