rust/library/core
bors e299752868 Auto merge of #118032 - RalfJung:char-u32, r=Mark-Simulacrum
guarantee that char and u32 are ABI-compatible

In https://github.com/rust-lang/rust/pull/116894 we added a guarantee that `char` has the same alignment as `u32`, but there is still one axis where these types could differ: function call ABI. So let's nail that down as well: in a function signature, `char` and `u32` are completely equivalent.

This is a new stable guarantee, so it will need t-lang approval.
2023-12-11 04:13:19 +00:00
..
benches remove redundant imports 2023-12-10 10:56:22 +08:00
src Auto merge of #118032 - RalfJung:char-u32, r=Mark-Simulacrum 2023-12-11 04:13:19 +00:00
tests remove redundant imports 2023-12-10 10:56:22 +08:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00