rust/library/core
bors 4566094913 Auto merge of #94512 - RalfJung:sdiv-ub, r=oli-obk
Miri/CTFE: properly treat overflow in (signed) division/rem as UB

To my surprise, it looks like LLVM treats overflow of signed div/rem as UB. From what I can tell, MIR `Div`/`Rem` directly lowers to the corresponding LLVM operation, so to make that correct we also have to consider these overflows UB in the CTFE/Miri interpreter engine.

r? `@oli-obk`
2022-03-03 12:56:24 +00:00
..
benches Stop manually SIMDing in swap_nonoverlapping 2022-02-21 00:54:02 -08:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src merge the char signess list of archs with freebsd as it is the same 2022-03-02 12:12:28 +00:00
tests Miri/CTFE: properly treat overflow in (signed) division/rem as UB 2022-03-01 20:39:51 -05:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00