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:
parent
4f4f8ebd3f
commit
b143cd9482
|
@ -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",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue