From f1a4a29264c393097010e0cbcd18a657311c774c Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Fri, 7 Jun 2024 16:53:41 -0600 Subject: [PATCH] Abort on panic in release This should help both runtime performance and side of the executable. And I can't think of a reason why we would need unwinding on panic in release builds. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index bdf5c21..e7f04be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,6 +86,7 @@ test-case = "3.3" lto = true strip = true codegen-units = 1 +panic = "abort" [features] use-jemalloc = ["jemallocator"]