diff options
| author | bors <bors@rust-lang.org> | 2016-08-04 11:51:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-04 11:51:27 -0700 |
| commit | 545a3a94fcbdd68c4eeb60848c8eae2118c639c7 (patch) | |
| tree | 405df1f63b219cdb7015409e4ce26bab3e764404 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e804a3cf256106c097d44f6e0212cd183122da07 (diff) | |
| parent | fbabe616413d34c1ab68668de34de4322d963b93 (diff) | |
| download | rust-545a3a94fcbdd68c4eeb60848c8eae2118c639c7.tar.gz rust-545a3a94fcbdd68c4eeb60848c8eae2118c639c7.zip | |
Auto merge of #35300 - eddyb:mir-neg-overflow, r=arielb1
rustc_trans: don't Assert(Overflow(Neg)) when overflow checks are off. Generic functions using `Neg` on primitive types would panic even in release mode, with MIR trans. The solution is a bit hacky, as I'm checking the message, since there's no dedicated `CheckedUnOp`. Blocks Servo rustup ([failure #1](http://build.servo.org/builders/linux-rel/builds/2477/steps/test_3/logs/stdio), [failure #2](http://build.servo.org/builders/mac-rel-css/builds/2364/steps/test/logs/stdio)) - this should be the last hurdle, it affects only one test.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
