Skip to content

Commit

Permalink
Merge pull request #693 from mintlayer/panic_abort
Browse files Browse the repository at this point in the history
Abort upon panic
  • Loading branch information
pavel-kokolemin authored Feb 14, 2023
2 parents db05fa8 + 0af1fe0 commit 9a2bf85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ static_assertions = "1.1"
thiserror = "1.0"
tokio = "1.0"

[profile.dev]
panic = "abort" # prevent panic catching (mostly for the tokio runtime)

[profile.release]
panic = "abort" # prevent panic catching (mostly for the tokio runtime)
debug-assertions = true
overflow-checks = true

Expand Down

0 comments on commit 9a2bf85

Please sign in to comment.