commit | ceebe4538d9d73d68b1f0d12b9dabe240fb9fbe2 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu May 23 23:15:53 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu May 23 23:15:53 2024 +0000 |
tree | a0885d14feb95ca2ba172d5299f0ee2a338d5740 | |
parent | 2d817c03b313c73767659deff5e7caa5ac4aa7fa [diff] | |
parent | 200ecc892507df1142eb0e25335e2f8a66aa7718 [diff] |
Snap for 11881322 from 200ecc892507df1142eb0e25335e2f8a66aa7718 to 24Q3-release Change-Id: Ieaaf1bbf11798f8cd6423e799a71104218065c07
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.