Enforce panic = abort in all build modes
authorMatt Corallo <git@bluematt.me>
Sun, 16 Jul 2023 03:24:53 +0000 (03:24 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Jul 2023 05:58:32 +0000 (05:58 +0000)
Cargo.toml

index c662165b9690dcb200e2ef4e6f30efbe2535e22b..ec3f3a673b454c976d964127a3912f47c1190bc9 100644 (file)
@@ -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