Snap for 11071763 from 336ad81d9d3383ff59288c7799bfdc4022018743 to 24Q1-release

Change-Id: I7d1dfa294ca00c2bc8ac2de44e8e0cad854409d7
tree: 223ab5cc8ec07dd491ae60c1dc8ffda8b845a03c
  1. src/
  2. .cargo_vcs_info.json
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. cargo2android.json
  7. CHANGELOG.md
  8. CONTRIBUTING.md
  9. LICENSE
  10. LICENSE-APACHE
  11. LICENSE-BSD-3-Clause
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. MODULE_LICENSE_BSD
  15. OWNERS
  16. 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.