mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 07:36:53 +00:00
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`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.