diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-11-02 11:51:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 11:51:39 -0500 |
commit | 761dffc91f3da3235b098319aea0b18249f2adf5 (patch) | |
tree | c7fbf6bbb0134e13a1ebaea38c342f02daaaa69c /src/codegen/helpers.rs | |
parent | f059edee4a6b165323623af0c993d3c3889ed2c1 (diff) | |
parent | 79dbe8b8062076f8ac3f76c0eaf4846dcb8c4638 (diff) |
Auto merge of #1136 - fitzgen:pragma-pack-bandaid, r=emilio
Detect `#pragma pack(...)` and make `pack(n)` where `n > 1` opaque
This is a bandaid for #537. It does *not* fix the underlying issue, which requires `#[repr(packed = "N")]` support in Rust. However, it does make sure that we don't generate type definitions with the wrong layout, or fail our generated layout tests.
r? @emilio or @pepyakin
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions