From 4933ace50b5e3fc6512f5129280425c5ba297b72 Mon Sep 17 00:00:00 2001 From: mo8it Date: Wed, 7 Aug 2024 23:54:02 +0200 Subject: [PATCH] Add `panic = "abort"` for exercises --- dev/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) 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"