commit | 5fa13b84578625debad3ad7a607e09a620831094 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Apr 26 20:46:21 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Apr 26 20:46:21 2021 +0000 |
tree | 9b8b19bb0683afc844694bb8ccc6739d864b2634 | |
parent | 2da0424b191af82d91e28e46440f43927bde8827 [diff] | |
parent | 378bf736ed162b67b9bc0667be484cbae295cc67 [diff] |
Merge "Enable overflow checks in Rust"
diff --git a/rust/config/global.go b/rust/config/global.go index 18776ab..43b49d1 100644 --- a/rust/config/global.go +++ b/rust/config/global.go
@@ -47,6 +47,7 @@ "-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", }