Enable overflow checks in Rust

Bug: 184063125
Test: Existing Rust Test Suites
Change-Id: I1b8f3cb22a229bfc7da81bf3857f6bf5a9f6c220
This commit is contained in:
Matthew Maurer
2021-03-30 11:49:08 -07:00
parent f682410cbf
commit 378bf736ed

View File

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