tag | 671e1d05c7e522c46a08266463051f23a3a57ed4 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jan 30 14:48:32 2024 -0800 |
object | 17b4ea57ff82e7ebcc020cd5602c7215c8b73b9f |
Platform Tools Release 34.0.5 (10900879)
commit | 17b4ea57ff82e7ebcc020cd5602c7215c8b73b9f | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Wed Sep 27 20:13:03 2023 +0000 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Sep 27 20:13:04 2023 +0000 |
tree | dcb4f03134f495bb4d5bd0e66a501d8de2c23f74 | |
parent | 1676fc7c3cf66abbaf6a3ca7d9fb5e240b287fd9 [diff] |
OWNERS: master -> main Change-Id: Iae9333dd0ed5d193cc3fff4ec5b758ed0ffdcfc6
Rust FFI bindings to virtio generated using bindgen.
Add this to your Cargo.toml
:
virtio-bindings = "0.2"
You can then import the bindings where you need them. As an example, to grab the bindings for virtio-blk, you can do:
use virtio_bindings::bindings::virtio_blk::*;
To update the bindings, follow the steps in the Contributing Document.