rust/compiler/rustc_target/src
Matthias Krüger a8b5e5d9db
Rollup merge of #107248 - erikdesjardins:addrspace, r=oli-obk
abi: add AddressSpace field to Primitive::Pointer

...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 (and various other changes),
which will be done in a followup.
(That is, if it's actually worth it to support multiple different pointer sizes.
There is a lot of code that would be affected by that.)

Fixes #106367

r? ``@oli-obk``
cc ``@Patryk27``
2023-01-26 06:15:27 +01:00
..
abi abi: add AddressSpace field to Primitive::Pointer 2023-01-22 23:41:39 -05:00
asm Fix some missed double spaces. 2023-01-14 18:23:40 +01:00
spec Rollup merge of #106796 - vadorovsky:revert-105708-enable-atomic-cas-bpf, r=bjorn3 2023-01-23 19:29:58 +09:00
json.rs Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
lib.rs compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00