about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-17 22:45:10 +0000
committerbors <bors@rust-lang.org>2015-04-17 22:45:10 +0000
commitb08d6cf529a83caec2f408cd8b1287e493ec57ca (patch)
tree6ef971f443e9797d767a2b05f837f9026ba68117 /src/libstd/sys/unix/stack_overflow.rs
parentf305579e490a9fa046b1b7a14e62daf643e41865 (diff)
parentb8ec7e88fc6c5a81194fd09dad042dc291a1cbb5 (diff)
downloadrust-b08d6cf529a83caec2f408cd8b1287e493ec57ca.tar.gz
rust-b08d6cf529a83caec2f408cd8b1287e493ec57ca.zip
Auto merge of #24500 - pnkfelix:oflo-checked-neg, r=nikomatsakis
Add conditional overflow-checking to signed negate operator.

I argue this can land independently of #24420 , because one can write the implementation of `wrapped_neg()` inline if necessary (as illustrated in two cases on this PR).

This needs to go into beta channel.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions