about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gmail.com>2017-02-17 16:00:08 -0500
committerNathan Froyd <froydnj@gmail.com>2017-02-22 10:08:57 -0500
commitffc6ddd51b960469ffee8d2fb80d5a664e2a6c21 (patch)
treeb4e0227d64b599ffddd14542c53791e654ba7873 /src/test/incremental/thinlto
parentfc6f092c21a7a7249a9f8860f3cd10160aa36c02 (diff)
downloadrust-ffc6ddd51b960469ffee8d2fb80d5a664e2a6c21.tar.gz
rust-ffc6ddd51b960469ffee8d2fb80d5a664e2a6c21.zip
add `-C overflow-checks` option
In addition to defining and handling the new option, we also add a
method on librustc::Session for determining the necessity of overflow
checks.  This method provides a single point to sort out the three (!)
different ways for turning on overflow checks: -C debug-assertions, -C
overflow-checks, and -Z force-overflow-checks.

Fixes #33134.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions