Skip to content

Commit

Permalink
integration: Fix integration tests with rust 1.33.
Browse files Browse the repository at this point in the history
Alignment arrays are not needed anymore, since we have repr(align).
  • Loading branch information
emilio committed Mar 4, 2019
1 parent 9134679 commit a43cc2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bindgen-integration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ fn test_bitfield_constructors() {

let mut second = bindings::bitfields::Second {
_bitfield_1: bindings::bitfields::Second::new_bitfield_1(1337, true),
__bindgen_align: [],
};
assert!(unsafe { second.assert(1337, true) });

Expand All @@ -189,7 +188,6 @@ fn test_bitfield_constructors() {
false,
bindings::bitfields::ItemKind::ITEM_KIND_TRES,
),
__bindgen_align: [],
};
assert!(unsafe {
third.assert(42, false, bindings::bitfields::ItemKind::ITEM_KIND_TRES)
Expand Down

0 comments on commit a43cc2a

Please sign in to comment.