Snap for 12199973 from 858b4eade279ecf7be160f82817f87cb973bba08 to 24Q4-release

Change-Id: Ib745c182851c613eb973f8b522d51aaecfb60e6c
tree: 2a21516daeac3699a85b40e496d199e5b70e1635
  1. patches/
  2. src/
  3. .cargo_vcs_info.json
  4. Android.bp
  5. Cargo.toml
  6. Cargo.toml.orig
  7. cargo_embargo.json
  8. CHANGELOG.md
  9. CONTRIBUTING.md
  10. LICENSE
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. MODULE_LICENSE_BSD
  14. OWNERS
  15. README.md
README.md

virtio-bindings

Rust FFI bindings to virtio generated using bindgen.

Usage

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::*;

Development

To update the bindings, follow the steps in the Contributing Document.