summaryrefslogtreecommitdiff
path: root/dev/Cargo.toml
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-08-07 23:54:02 +0200
committermo8it <mo8it@proton.me>2024-08-08 00:41:12 +0200
commit4933ace50b5e3fc6512f5129280425c5ba297b72 (patch)
tree47f1d031578d3dde6c9672fd00809077df17def1 /dev/Cargo.toml
parent81bf0a64300a2dd1f05b71e2674cc927385df410 (diff)
Add `panic = "abort"` for exercises
Diffstat (limited to 'dev/Cargo.toml')
-rw-r--r--dev/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/Cargo.toml b/dev/Cargo.toml
index 7f3acb5..d814ba2 100644
--- a/dev/Cargo.toml
+++ b/dev/Cargo.toml
@@ -195,3 +195,9 @@ name = "exercises"
edition = "2021"
# Don't publish the exercises on crates.io!
publish = false
+
+[profile.release]
+panic = "abort"
+
+[profile.dev]
+panic = "abort"