mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

...and remove it from `PointeeInfo`, which isn't meant for this. There are still various places (marked with FIXMEs) that assume all pointers have the same size and alignment. Fixing this requires parsing non-default address spaces in the data layout string, which will be done in a followup.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.