commit | af21e51a7f45ac7a9c2f072d57c3336bc183fcca | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Jul 30 15:43:39 2024 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Jul 30 15:43:39 2024 -0700 |
tree | ec56fa12b8c1ac4da180e8cada316d900e88b892 | |
parent | 9cf2376b6411a3950855bc57067db5aec4e08ef7 [diff] |
Suppress dead code clippy lints for crosvm ``` error: field `vm_service` is never read --> packages/modules/Virtualization/android/virtmgr/src/crosvm.rs:372:9 | 348 | pub struct VmInstance { | ---------- field in this struct ... 372 | pub vm_service: Mutex<Option<Strong<dyn IVirtualMachineService>>>, | ^^^^^^^^^^ | = note: `VmInstance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` ``` Bug: http://b/346588808 Test: ./toolchain/android_rust/tools/test_compiler.py --target aosp_cf_x86_64_phone --image --reuse-prebuilt Change-Id: I18b77113fe587289d98bd867e841c959b7cacab7
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: