rust/tests
bors 45113eb6a4 Auto merge of #1325 - RalfJung:float_to_int_unchecked, r=RalfJung
implement float_to_int_unchecked

@hanna-kruppe would be great if you could have a look at this.

`float.rs` tests legal casts. `test_cast` checks that both `as` casts and unchecked casts work (i.e., these are not saturating). The `compile-fail` tests should ensure that illegal casts via the intrinsic are detected as such.

Fixes https://github.com/rust-lang/miri/issues/1264
2020-04-18 08:13:24 +00:00
..
compile-fail Auto merge of #1325 - RalfJung:float_to_int_unchecked, r=RalfJung 2020-04-18 08:13:24 +00:00
run-pass Auto merge of #1325 - RalfJung:float_to_int_unchecked, r=RalfJung 2020-04-18 08:13:24 +00:00
compiletest.rs test harness informs tests about suitable temp dir 2020-03-24 09:11:48 +01:00