about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-11 04:13:19 +0000
committerbors <bors@rust-lang.org>2023-12-11 04:13:19 +0000
commite299752868656b6b355864d66659fe542a525ec5 (patch)
tree9adeae6af035259bd65793aa4ddb7c433f8f7980 /compiler/rustc_codegen_gcc
parent1cb200cfeb7ee99d51453f31efbe1b4cf8b085d8 (diff)
parentb4f3f2aeacfc629e57eca6cabc27a00cf4cf2375 (diff)
downloadrust-e299752868656b6b355864d66659fe542a525ec5.tar.gz
rust-e299752868656b6b355864d66659fe542a525ec5.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions