From a05f1ee86cd45d5d19869b8e8ab76bf62794cc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 20 Jun 2024 10:32:12 +0200 Subject: [PATCH] build: force debug symbols in release build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit they then get stripped into their own package anyway, but without this we don't get debug symbols at all with rustc >= 1.77 Signed-off-by: Fabian Grünbichler --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 3b5b6e4..7b442dc 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,3 +3,6 @@ directory = "/usr/share/cargo/registry" [source.crates-io] replace-with = "debian-packages" + +[profile.release] +debug = true