commit | e1b42897a1d812f39530b2da941527f93618cf0c | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Aug 07 11:03:44 2024 -0700 |
committer | Stephen Hines <srhines@google.com> | Wed Aug 07 11:03:44 2024 -0700 |
tree | 334842db61481c55062ed1fbaa2ba5242868faa5 | |
parent | dcbac1e541b7b0441e9895f85675e8c254392c3e [diff] |
Fix clippy lints for dice related to 1.79.0 toolchain update. ``` error: field `0` is never read --> packages/modules/Virtualization/guest/pvmfw/src/dice.rs:39:15 | 39 | CborError(ciborium::value::Error), | --------- ^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 39 | CborError(()), | ~~ error: field `0` is never read --> packages/modules/Virtualization/guest/pvmfw/src/dice.rs:41:15 | 41 | DiceError(diced_open_dice::DiceError), | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 41 | DiceError(()), | ~~ ``` Bug: http://b/346588808 Test: ./toolchain/android_rust/tools/test_compiler.py --target aosp_husky --all-rust --reuse-prebuilt Change-Id: I0d9a7afdcc06cf3a50e1d2541014c4d7f8562c87
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
AVF APIs:
How-Tos: