crosvm/kvm-sys
Zach Reizner 034134b2db kvm-sys: fix alignment and size errors in bindings
These errors were caught by the autogenerated test but required manual
fixing. The alignment issues are there because bindgen uses PhantomData
to emulate zero sized arrays at the end of structs, but rust will align
the structs as if PhantomData is not there. The single size issue seems
to be a bindgen bug in which an extra bitfield u8 was added.

BUG=chromium:711556
TEST=cargo test

Change-Id: Ib42674bc485e8b93b77d4d9e2f424c05f9746757
Reviewed-on: https://chromium-review.googlesource.com/477613
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2017-04-21 21:57:31 -07:00
..
src kvm-sys: fix alignment and size errors in bindings 2017-04-21 21:57:31 -07:00
tests kvm-sys: add arm bindings 2017-04-21 21:57:31 -07:00
Cargo.toml kvm-sys: start low-level kvm bindings 2017-04-19 16:30:31 +00:00