Skip to content

Commit

Permalink
add dev profile
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Sep 17, 2024
1 parent 6e027e6 commit 2da0448
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions account/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ opt-level = "z"
# ensures that panics do not pull in a bunch of standard
# library code unintentionally
panic = "abort"

[profile.dev]
# Explicitly disable panic infrastructure on Wasm, as
# there is no proper support for them anyway, and it
# ensures that panics do not pull in a bunch of standard
# library code unintentionally
panic = "abort"
opt-level = 1
debug-assertions = false
overflow-checks = false
debug = true

0 comments on commit 2da0448

Please sign in to comment.