Enable debug info in Rust modules.

This allows tombstones to be symbolized and is consistent with C/C++
where we pass -g.

Bug: 173723155
Change-Id: I597e2bf97517407b428277f1cf7aa19b73371efa
This commit is contained in:
Peter Collingbourne 2020-12-30 21:14:37 -08:00
parent 4f4f8ebd3f
commit b143cd9482
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ var (
GlobalRustFlags = []string{
"--remap-path-prefix $$(pwd)=",
"-C codegen-units=1",
"-C debuginfo=2",
"-C opt-level=3",
"-C relocation-model=pic",
}