integration: Fix integration tests with rust 1.33.

Alignment arrays are not needed anymore, since we have repr(align).
This commit is contained in:
Emilio Cobos Álvarez
2019-03-04 03:27:08 +01:00
parent 3e72d992ff
commit 8473e70ede
-2
View File
@@ -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) });
@@ -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)