rust/library/core
Matthias Krüger 2f00feb616
Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu
Fix chaining `carrying_add`s

Something about the MIR lowering for `||` ended up breaking this, but it's fixed by changing the code to use `|` instead.

I also added an assembly test to ensure it *keeps* being [`adc`](https://www.felixcloutier.com/x86/adc).

cc https://github.com/rust-lang/rust/issues/85532#issuecomment-2495119815, which noticed this.
2024-12-01 14:30:11 +01:00
..
benches Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjubilee 2024-11-14 04:17:20 +00:00
src Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu 2024-12-01 14:30:11 +01:00
tests add test for bytewise ptr::swap of a pointer 2024-11-30 10:42:17 +01:00
Cargo.toml update cfgs 2024-11-27 15:14:54 +00:00