From 566847359ec9cb0e18b33e677cc9b9af2da4633d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 4 Feb 2025 11:27:32 +0800 Subject: [PATCH] fix: enable unwinding on Windows release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 06525c6f..babdcdc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,9 @@ lto = true panic = "abort" strip = true +[target.'cfg(windows)'.profile.release] +panic = "unwind" + [workspace.dependencies] ansi-to-tui = "7.0.0" anyhow = "1.0.95"