Update Android.bp by running cargo_embargo

Test: ran cargo_embargo
Change-Id: I2cdb7545aa2915a97a83c6528f5b9f07dbc29058
1 file changed
tree: 0dadd9f7f5278489d5f66664878d0226f38ea943
  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.