Bug: 298810966

Clone this repo:
  1. 60c3dbd Migrate 25 crates to monorepo by James Farrell · 4 weeks ago main master
  2. 5321f8a Update Android.bp by running cargo_embargo by James Farrell · 5 weeks ago
  3. 9741c52 Create patch from LICENSE file am: 307e6aaa15 by James Farrell · 3 months ago
  4. 307e6aa Create patch from LICENSE file by James Farrell · 3 months ago
  5. 200ecc8 Update Android.bp by running cargo_embargo am: 2b5faf6678 am: 749c09bde6 by James Farrell · 5 months ago android15-tests-dev aml_art_350913340 aml_cbr_350910020 aml_doc_350915120 aml_ext_350912020 aml_hef_350921160 aml_med_350914000 aml_net_350911020 aml_per_350910080 aml_rkp_350910000 aml_sdk_350910000 aml_sta_350911020 aml_tet_350911120 aml_uwb_350911040 aml_wif_350912040

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.