From 7fbad39f5cb41fef9a67775f84eba8f1069c1bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 20 Jun 2024 10:32:01 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config b/.cargo/config index 3b5b6e4..7b442dc 100644 --- a/.cargo/config +++ b/.cargo/config @@ -3,3 +3,6 @@ directory = "/usr/share/cargo/registry" [source.crates-io] replace-with = "debian-packages" + +[profile.release] +debug = true