Skip to content

Commit b53de2e

Browse files
committed
integration: Fix integration tests with rust 1.33.
Alignment arrays are not needed anymore, since we have repr(align).
1 parent 23d9229 commit b53de2e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bindgen-integration/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ fn test_bitfield_constructors() {
179179

180180
let mut second = bindings::bitfields::Second {
181181
_bitfield_1: bindings::bitfields::Second::new_bitfield_1(1337, true),
182-
__bindgen_align: [],
183182
};
184183
assert!(unsafe { second.assert(1337, true) });
185184

@@ -189,7 +188,6 @@ fn test_bitfield_constructors() {
189188
false,
190189
bindings::bitfields::ItemKind::ITEM_KIND_TRES,
191190
),
192-
__bindgen_align: [],
193191
};
194192
assert!(unsafe {
195193
third.assert(42, false, bindings::bitfields::ItemKind::ITEM_KIND_TRES)

0 commit comments

Comments
 (0)