From fe6379a2527270e5e3fda6d1fd209969951f1456 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 16 Jul 2023 03:24:53 +0000 Subject: [PATCH] Enforce panic = abort in all build modes --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c662165..ec3f3a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,9 @@ tokio = { version = "1.25", features = ["full"] } tokio-postgres = { version="=0.7.5" } futures = "0.3" +[profile.dev] +panic = "abort" + [profile.release] opt-level = 3 lto = true -- 2.39.5