Enable overflow checks in Rust
Bug: 184063125 Test: Existing Rust Test Suites Change-Id: I1b8f3cb22a229bfc7da81bf3857f6bf5a9f6c220
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
Reference in New Issue
Block a user