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
This commit is contained in:
Colin Walters 2018-09-10 13:50:24 -04:00 committed by Atomic Bot
parent 08ad9d49c8
commit 23698a8aa3

View File

@ -28,3 +28,4 @@ crate-type = ["staticlib"]
[profile.release]
panic = "abort"
lto = true
debug = true