New issue
Advanced search Search tips

Issue 910831 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain



Sign in to add a comment

rust programs need to build with debugging enabled all the time

Project Member Reported by vapier@chromium.org, Dec 1

Issue description

currently rust crashes lack any symbols.  it sounds like the release mode doesn't include any debug symbols which is bad.  we should have debug = true enabled all the time regardless.

i don't know if it's possible to handle this in a rust eclass so we don't have to update/patch every cargo file ...
 
Owner: chirantan@chromium.org
Status: Started (was: Available)
We should be able to do this in the cros-rust eclass by exporting RUSTFLAGS="-Cdebuginfo=2" in the ecargo_build function.  I was actually thinking about doing this anyway so I'll upload a change to do this on Monday.

Sign in to add a comment