From b1c71874a453d3e793f486c690ceb368f406784f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 3 Feb 2026 23:43:00 -0700 Subject: [PATCH] [rust] Use panic="abort" in debugoptimized builds as well --- src/rust/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index 36d6ba4f5..bf370cea7 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -26,6 +26,7 @@ codegen-units = 1 [profile.debugoptimized] inherits = "dev" +panic = "abort" overflow-checks = false lto = "fat" codegen-units = 1