From d542f6cac4e3f87f46f4c94c2373092b1914c930 Mon Sep 17 00:00:00 2001 From: Iwan BK Date: Wed, 1 Jan 2025 12:00:19 +0700 Subject: [PATCH] feat(panic): abort on panic. - not continuing in the broken state - currently restart Actor using Supervisor is too complex without real gain --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 850759a..48ba670 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,7 @@ members = ["zstor"] # opt-level = 'z' lto = true codegen-units = 1 +panic = 'abort' + +[profile.dev] +panic = 'abort'