diff options
| author | 2021-11-24 22:03:25 +0000 | |
|---|---|---|
| committer | 2021-11-24 22:03:25 +0000 | |
| commit | 0e714da0f340f7d979b7af8f7949fe21a1e0ba4f (patch) | |
| tree | 92ebcbc7f2dbedc491cb3e04de5ff41aa14ca743 | |
| parent | b3b28012b97a20b7ebac4484e83f2f923b9e519f (diff) | |
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
| -rw-r--r-- | rust/config/global.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/config/global.go b/rust/config/global.go index d3826acf5..acc7a7978 100644 --- a/rust/config/global.go +++ b/rust/config/global.go @@ -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", } |