rust/src/test
Corey Richardson cdfff9db35 rustc: implement arithmetic overflow checking
Adds overflow checking to integer addition, multiplication, and subtraction
when `-Z force-overflow-checks` is true, or if `--cfg ndebug` is not passed to
the compiler. On overflow, it panics with `arithmetic operation overflowed`.
Also adds `overflowing_add`, `overflowing_sub`, and `overflowing_mul`
intrinsics for doing unchecked arithmetic.

[breaking-change]
2015-03-03 12:09:07 +01:00
..
auxiliary Rollup merge of #22875 - kmcallister:maceager, r=sfackler 2015-02-28 19:18:59 +05:30
bench Auto merge of #22797 - alexcrichton:io-stdio, r=aturon 2015-03-02 07:10:14 +00:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail Remove the synthetic "region bound" from closures and instead update how 2015-03-02 05:45:41 -05:00
compile-fail-fulldeps Update suffixes en masse in tests using perl -p -i -e 2015-02-18 09:10:10 -05:00
debuginfo rollup merge of #22286: nikomatsakis/variance-4b 2015-02-18 15:52:01 -08:00
parse-fail obsolete |&:| syntax 2015-02-27 21:01:22 -05:00
pretty Fix test fallouts 2015-02-22 02:14:27 +01:00
run-fail rustc: implement arithmetic overflow checking 2015-03-03 12:09:07 +01:00
run-make Separate most of rustc::lint::builtin into a separate crate. 2015-02-28 15:33:59 +11:00
run-pass Make test/run-pass/backtrace.rs more robust about own host environment. 2015-03-03 12:09:06 +01:00
run-pass-fulldeps Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
run-pass-valgrind std: Implement stdio for std::io 2015-02-28 23:13:02 -08:00