tag | 8b53f99423a595e065f9788216fa1d5e777dfe3f | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 29 00:05:33 2024 -0700 |
object | 200ecc892507df1142eb0e25335e2f8a66aa7718 |
aml_uwb_350911040 (12297723,com.google.android.go.uwb,com.google.android.uwb)
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.