mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
ed1d94311e
Change int-to-ptr transmute lowering back to inttoptr This is a revert of https://github.com/rust-lang/rust/pull/121282, but with a regression test to cover the reported miscompile in https://github.com/rust-lang/rust/issues/147265 that was caused by the way the code here combines with https://github.com/rust-lang/rust/pull/138759.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.