tag | c720cf522d7c4eb8f9eef4de9a185290b57b5d64 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Oct 28 17:01:14 2024 -0700 |
object | 200ecc892507df1142eb0e25335e2f8a66aa7718 |
aml_sdk_350910000 (12063015,com.google.android.go.sdkext,com.google.android.sdkext)
commit | 200ecc892507df1142eb0e25335e2f8a66aa7718 | [log] [tgz] |
---|---|---|
author | James Farrell <jamesfarrell@google.com> | Wed May 22 23:33:40 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed May 22 23:33:40 2024 +0000 |
tree | a0885d14feb95ca2ba172d5299f0ee2a338d5740 | |
parent | dc1e733f3d4f5ab720c09e9516bc2c312ebdf146 [diff] | |
parent | 749c09bde6162e129232a1fe9a57bf5dc59f1ab2 [diff] |
Update Android.bp by running cargo_embargo am: 2b5faf6678 am: 749c09bde6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/virtio-bindings/+/3095910 Change-Id: I72adde870ae7dc786d006fce7384449136fbe65e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.