rust/compiler/rustc_const_eval/src/interpret
Matthias Krüger 2d59c4e0fe
Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk
const validation: properly ignore zero-sized UnsafeCell

Fixes https://github.com/rust-lang/rust/issues/142948
r? `@oli-obk`
2025-06-27 22:13:05 +02:00
..
call.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
cast.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
discriminant.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
eval_context.rs Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk 2025-06-27 22:13:05 +02:00
intern.rs const_eval: fix some outdated comments 2025-06-10 11:45:38 +02:00
intrinsics.rs Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk 2025-06-27 22:13:05 +02:00
machine.rs const-eval: error when initializing a static writes to that static 2025-06-27 14:39:35 +02:00
memory.rs const-eval: error when initializing a static writes to that static 2025-06-27 14:39:35 +02:00
mod.rs make return type of get_alloc_info a struct, and reduce some code duplication with validity checking 2024-11-09 15:18:52 +01:00
operand.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
operator.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
place.rs Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk 2025-06-27 22:13:05 +02:00
projection.rs Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk 2025-06-27 22:13:05 +02:00
stack.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
step.rs Update InterpCx::project_field to take FieldIdx 2025-06-05 19:15:56 -07:00
traits.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00
util.rs Fix enter_trace_span!() using wrong $crate paths 2025-06-11 12:22:20 +02:00
validity.rs Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obk 2025-06-27 22:13:05 +02:00
visitor.rs Add InterpCx::layout_of with tracing, shadowing LayoutOf 2025-06-27 11:49:22 +02:00