From 9aa26a99d62f7710d392aaa1cb31df4da3276235 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Tue, 15 Jul 2025 14:06:53 +0300 Subject: [PATCH] Update the release profile --- Cargo.toml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2216f6a..9f3c875 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,12 +78,3 @@ features = [ inherits = "release" lto = true codegen-units = 1 - -# We set the `panic` behavior to `unwind` in both the `release` and `dev` profiles since our async -# runtime attempts to catch panics and it can only catch panics if we compile our code with unwind -# as the panic behavior. For more information, please see the `catch_unwind` documentation where it -# mentions that panics can only be caught if they unwind and not if they abort: -# https://doc.rust-lang.org/std/panic/fn.catch_unwind.html#notes - -[profile.release] -panic = "unwind"