aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-29 15:14:48 +0000
committerGitHub <noreply@github.com>2022-04-29 15:14:48 +0000
commitf38bf60c3ac7f039db5ff5c7c0587325097892c8 (patch)
tree3a1bfc617f39ac85074f456c13617cb749cb4bdc /gcc/rust/backend/rust-compile-expr.h
parentf8a137bd9391733a3d0d7b58f0f30af441e25a5a (diff)
parentfd51331270ed0318144cb0031b21ef710218e2fe (diff)
downloadgcc-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