From 23698a8aa37f7667ee0279ff4a44abc99d4c8e70 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 10 Sep 2018 13:50:24 -0400 Subject: [PATCH] rust: Use debug=true for release builds Because our primary delivery vechicle uses RPM which supports separate debuginfo, there's no reason not to build release builds with debuginfo, so that one can use gdb on them just like we do with C. Closes: #1550 Approved by: jlebon --- rust/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index ee95b012..6efe1118 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -28,3 +28,4 @@ crate-type = ["staticlib"] [profile.release] panic = "abort" lto = true +debug = true