From: Matt Corallo Date: Sun, 16 Jul 2023 03:24:53 +0000 (+0000) Subject: Enforce panic = abort in all build modes X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=rapid-gossip-sync-server;a=commitdiff_plain;h=fe6379a2527270e5e3fda6d1fd209969951f1456 Enforce panic = abort in all build modes --- 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