mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-08 13:55:25 +00:00
e299752868
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. |
||
---|---|---|
.. | ||
cross-crate | ||
extern | ||
foreign | ||
issues | ||
mir | ||
numbers-arithmetic | ||
statics | ||
struct-enums | ||
union | ||
abi-sysv64-arg-passing.rs | ||
abi-sysv64-register-usage.rs | ||
abi-typo-unstable.rs | ||
abi-typo-unstable.stderr | ||
anon-extern-mod.rs | ||
arm-unadjusted-intrinsic.rs | ||
c-stack-as-value.rs | ||
c-stack-returning-int64.rs | ||
cabi-int-widening.rs | ||
compatibility.rs | ||
debug.rs | ||
debug.stderr | ||
explicit_repr_rust.rs | ||
homogenous-floats-target-feature-mixup.rs | ||
issue-28676.rs | ||
lib-defaults.rs | ||
nullable-pointer-ffi-compat.rs | ||
relocation_model_pic.rs | ||
riscv-discoverability-guidance.riscv32.stderr | ||
riscv-discoverability-guidance.riscv64.stderr | ||
riscv-discoverability-guidance.rs | ||
rustcall-generic.rs | ||
segfault-no-out-of-stack.rs | ||
stack-probes-lto.rs | ||
stack-probes.rs | ||
stack-protector.rs | ||
unsized-args-in-c-abi-issues-94223-115845.rs | ||
unsupported.aarch64.stderr | ||
unsupported.arm.stderr | ||
unsupported.i686.stderr | ||
unsupported.riscv32.stderr | ||
unsupported.riscv64.stderr | ||
unsupported.rs | ||
unsupported.x64.stderr | ||
variadic-ffi.rs | ||
x86stdcall2.rs | ||
x86stdcall.rs |