Skip to content

Commit

Permalink
build: abort on panic
Browse files Browse the repository at this point in the history
  • Loading branch information
arunanshub committed Sep 27, 2024
1 parent dccf1ce commit bff400f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ lto = true
codegen-units = 1
strip = true
opt-level = "s"
# https://smallcultfollowing.com/babysteps/blog/2024/05/02/unwind-considered-harmful/
panic = "abort"

[profile.test]
opt-level = 3
Expand Down

0 comments on commit bff400f

Please sign in to comment.