rust/compiler/rustc_codegen_ssa/src
bors 4b3ba5844e Auto merge of #147793 - cjgillot:no-null-op, r=scottmcm,oli-obk
Replace NullOp::SizeOf and NullOp::AlignOf by lang items.

Part of https://github.com/rust-lang/rust/issues/146411

Fixes https://github.com/rust-lang/rust/issues/119729
Keeps https://github.com/rust-lang/rust/issues/136175 as it involves `offset_of!` which this PR does not touch.

r? `@ghost`
2025-10-23 05:09:25 +00:00
..
back Auto merge of #147810 - bjorn3:lto_refactors6, r=wesleywiser 2025-10-22 22:50:15 +00:00
debuginfo Flatten ifs in rustc_codegen_ssa 2025-03-17 18:56:52 +00:00
mir Replace NullOp::SizeOf and NullOp::AlignOf by lang items. 2025-10-23 00:38:28 +00:00
traits Move computation of allocator shim contents to cg_ssa 2025-10-10 13:04:55 +00:00
assert_module_sources.rs Print CGU reuse statistics when -Zprint-mono-items is enabled 2025-08-04 15:43:50 +02:00
base.rs Allow unsizing pattern types with pointer base 2025-10-21 11:22:51 +00:00
codegen_attrs.rs Use span from parsed attribute 2025-10-14 16:17:36 +02:00
common.rs Move NativeLibKind from rustc_session to rustc_hir 2025-08-27 20:24:59 +02:00
errors.rs Fix double error for #[no_mangle] on closures 2025-10-08 17:46:33 +02:00
lib.rs Ensure fat LTO doesn't merge everything into the allocator module 2025-09-06 13:31:41 +00:00
meth.rs Remove DynKind 2025-09-17 04:46:46 +02:00
mono_item.rs Port the #[linkage] attribute to the new attribute system 2025-08-13 21:01:37 +02:00
size_of_val.rs remove explicit deref of AbiAlign for most methods 2025-09-28 15:02:14 -07:00
target_features.rs Add an experimental unsafe(force_target_feature) attribute. 2025-08-22 01:26:26 +02:00