rust/compiler/rustc_const_eval/src/interpret
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
..
cast.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
discriminant.rs Fix some typos 2023-11-14 23:06:50 +08:00
eval_context.rs Auto merge of #118324 - RalfJung:ctfe-read-only-pointers, r=saethlin 2023-12-07 18:11:01 +00:00
intern.rs ctfe interpreter: extend provenance so that it can track whether a pointer is immutable 2023-12-07 17:46:36 +01:00
intrinsics.rs interpret: make numeric_intrinsic accessible from Miri 2023-12-03 11:51:58 +01:00
machine.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
memory.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
mod.rs Directly intern values instead of copying them. 2023-10-25 06:46:48 +00:00
operand.rs avoid marking as immutable what is already immutable 2023-12-07 17:46:48 +01:00
operator.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
place.rs avoid marking as immutable what is already immutable 2023-12-07 17:46:48 +01:00
projection.rs codegen, miri: fix computing the offset of an unsized field in a packed struct 2023-12-03 08:26:51 +01:00
step.rs move write_aggregate into step file, and also extract write_repeat into separate function 2023-11-28 11:40:17 +01:00
terminator.rs Auto merge of #118032 - RalfJung:char-u32, r=Mark-Simulacrum 2023-12-11 04:13:19 +00:00
traits.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
util.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
validity.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
visitor.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00