commit | 439113a087f396abb36735d207b28523c8fbf1e3 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Thu Jun 22 10:44:50 2023 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Thu Jun 22 11:15:26 2023 +0000 |
tree | 4e62c986613686f7281f0a1b8be7ec8a14479bfd | |
parent | 188ab2e6b15df01860970b27040eb71442cadbe9 [diff] |
vmbase: Set no_stdlibs for libvmbase When building vmbase clients (e.g. `m pvmfw_bin`) with code changes in vmbase, the build system masks (for some obscure reason) any vmbase error with the following FAILED: [...]/libvmbase/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std/libvmbase.rlib.clippy error[E0152]: found duplicate lang item `panic_impl` --> packages/modules/Virtualization/vmbase/src/lib.rs:43:1 | 43 | fn panic(info: &PanicInfo) -> ! { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the lang item is first defined in crate `std`. = note: first definition in `std` loaded from [...]/libstd.rlib = note: second definition in the local crate (`vmbase`) error: aborting due to previous error So make it clear to Soong that libvmbase does NOT link against libstd, so that it reports the actual vmbase build errors instead. Test: TH Change-Id: I812e67ed2d300e39e12084306bbf1d7047ed3ae6
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.