diff --git a/Cargo.toml b/Cargo.toml
index da7e4e4f6e6d1ef17a3e5ab8e029eb89e0d0b844..efc3bc36781382788b8702ebdeaa2825494a6417 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,3 +23,9 @@ members = [
     "lib/tests-tools/rust-tests-tools",
     "lib/tools/wot",
 ]
+
+[profile.dev]
+panic = 'abort'
+
+[profile.release]
+panic = 'abort'
\ No newline at end of file