From 7dc50b4eb06124e31f03adb06c20ff7ab61c5f79 Mon Sep 17 00:00:00 2001 From: Calvin Neo Date: Wed, 20 Mar 2024 09:50:57 +0800 Subject: [PATCH] Keep debug info (#368) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8beb2a573a0..887344667af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -428,7 +428,7 @@ opt-level = 1 [profile.dev] opt-level = 0 -debug = false +debug = true codegen-units = 4 lto = false incremental = true @@ -439,7 +439,7 @@ rpath = false [profile.release] opt-level = 3 -debug = false +debug = true codegen-units = 1 lto = "thin" incremental = false