diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-29 15:14:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-29 15:14:48 +0000 |
commit | f38bf60c3ac7f039db5ff5c7c0587325097892c8 (patch) | |
tree | 3a1bfc617f39ac85074f456c13617cb749cb4bdc /gcc/rust/backend/rust-compile-expr.h | |
parent | f8a137bd9391733a3d0d7b58f0f30af441e25a5a (diff) | |
parent | fd51331270ed0318144cb0031b21ef710218e2fe (diff) | |
download | gcc-f38bf60c3ac7f039db5ff5c7c0587325097892c8.zip gcc-f38bf60c3ac7f039db5ff5c7c0587325097892c8.tar.gz gcc-f38bf60c3ac7f039db5ff5c7c0587325097892c8.tar.bz2 |
Merge #1188
1188: Support align and packed repr layout on structs r=dafaust a=dafaust
This is a start at handling the various layout options supported by Rust, beginning with `#[repr(align(N))]` and `#[repr(packed(N))]`, on structs and tuple structs.
There are several other layout options which remain to be supported such as `#[repr(C)]`, `#[repr(transparent)]`, combinations e.g. `#[repr(C, packed(2))]`, as well as layouts on union and enum types.
Fixes: #915
Co-authored-by: David Faust <david.faust@oracle.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions