Skip to content

Commit

Permalink
Auto merge of #118032 - RalfJung:char-u32, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
guarantee that char and u32 are ABI-compatible

In rust-lang/rust#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.
  • Loading branch information
bors committed Dec 11, 2023
2 parents 9e8f84e + 02cc40c commit 7e48dd4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 7e48dd4

Please sign in to comment.