commit | 442dd851bdc2d14963c13594e502a13816c51996 | [log] [tgz] |
---|---|---|
author | Chris Wailes <chriswailes@google.com> | Tue Feb 04 15:36:05 2025 -0800 |
committer | Chris Wailes <chriswailes@google.com> | Tue Feb 04 15:36:05 2025 -0800 |
tree | 74855df88ea2200690910c5d589d598a5dcca19c | |
parent | 6b4e3f7723f243629956d8b75bb89f789702e041 [diff] |
Update code for Rust 1.82.0 error: unneeded `return` statement --> packages/modules/Virtualization/libs/libvmbase/src/arch/aarch64/platform.rs:109:5 | 109 | return CONSOLES[id].get().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `-D clippy::needless-return` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_return)]` help: remove `return` | 109 - return CONSOLES[id].get().unwrap(); 109 + CONSOLES[id].get().unwrap() Test: m out/soong/.intermediates/packages/modules/Virtualization/libs/libvmbase/libvmbase/android_arm64_armv8-a_cortex-a53_rlib_rlib-std/libvmbase.rlib.clippy Bug: 384401387 Change-Id: I28874cdd468bda1bab26cf4f532cf952efd80675
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: