Rust: abort on panic

Test: build (test included in build)
Bug: 162266455
Change-Id: I7f53956d3a35f923d0282d511d6360051f945a88
This commit is contained in:
Jeff Vander Stoep
2021-01-26 14:35:38 +01:00
committed by Ivan Lozano
parent 700730e69e
commit bf7a902951
3 changed files with 9 additions and 1 deletions

View File

@@ -49,7 +49,9 @@ var (
"-C relocation-model=pic",
}
deviceGlobalRustFlags = []string{}
deviceGlobalRustFlags = []string{
"-C panic=abort",
}
deviceGlobalLinkFlags = []string{
// Prepend the lld flags from cc_config so we stay in sync with cc