rust: Ensure unwind tables are generated

Currently, we are depending on a platform default in rustc's
android_base module to keep unwind tables generated. That default was
configured specifically to change the behavior for Firefox profiling
purposes prior to the existence of the override flag. As a result,
there's no structural reason the default will remain as is.

Bug: 193702360
Test: m
Change-Id: Ic5b57d5a31f4e67a66351a3f0efc530c95aa3836
This commit is contained in:
Matthew Maurer
2021-11-24 22:03:25 +00:00
parent b3b28012b9
commit 0e714da0f3

View File

@@ -47,6 +47,7 @@ var (
"-C opt-level=3",
"-C relocation-model=pic",
"-C overflow-checks=on",
"-C force-unwind-tables=yes",
// Use v0 mangling to distinguish from C++ symbols
"-Z symbol-mangling-version=v0",
}