Josh Stone
4a1e4ea32a
Fix the size of niche enums with ZST alignment
...
For enums with an aligned ZST variant, like `[T; 0]`, the niche layout
was not computing a sufficient size to be consistent with alignment. Now
we pad that size up to the alignment, and also make sure to only use the
niche variant's ABI when the size and alignment still match.
2022-07-30 10:45:48 -07:00
..
2022-07-26 19:00:31 +02:00
2022-07-23 14:25:55 +00:00
2022-07-29 07:11:50 +00:00
2022-07-28 00:10:19 -06:00
2022-07-26 18:53:46 +02:00
2022-07-26 01:47:34 +00:00
2022-07-27 16:19:07 +02:00
2022-07-29 15:36:52 +00:00
2022-07-27 17:55:04 +02:00
2022-07-24 04:03:29 +00:00
2022-07-27 11:24:27 +01:00
2022-07-27 11:24:27 +01:00
2022-07-28 10:20:55 +09:00
2022-07-27 11:24:27 +01:00
2022-07-26 19:00:31 +02:00
2022-07-27 22:02:14 +00:00
2022-07-28 11:59:54 +02:00
2022-07-29 04:23:08 +00:00
2022-07-25 00:00:27 -06:00
2022-07-27 16:19:07 +02:00
2022-07-27 20:09:46 +09:00
2022-07-30 10:45:48 -07:00
2022-07-27 17:55:04 +02:00
2022-07-29 07:11:50 +00:00
2022-07-29 07:11:50 +00:00
2022-07-28 18:28:29 +09:00
2022-07-25 00:00:27 -06:00
2022-07-27 11:24:27 +01:00
2022-07-28 18:17:55 +09:00
2022-07-29 15:36:52 +00:00
2022-07-28 11:59:54 +02:00
2022-07-24 01:22:36 +00:00
2022-07-24 13:12:08 +01:00
2022-07-29 04:23:08 +00:00
2022-07-28 16:38:30 +05:30
2022-07-29 15:39:57 +09:00