commit | beb25d59d6f2bb4a9ab45b2f1d91ea2874e79ce2 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Dec 05 21:10:13 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Dec 05 21:10:13 2024 +0000 |
tree | 3ffd610b282c1b574598d55fcafbaf0ed802e31f | |
parent | ac7db22cc715269cea41018f8ea49b13fb3b5f01 [diff] | |
parent | 4da9242e2f70f5428ec8ccb944f05942e591d35e [diff] |
Merge "Temporary workaround for Rust 1.82.0 update" into main am: 4da9242e2f Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/3393025 Change-Id: I3b20058bedcc373f0347f9297a0e1dd0a5abcb8e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libs/libvmbase/src/bionic.rs b/libs/libvmbase/src/bionic.rs index 8b40dae..3c0cd6f 100644 --- a/libs/libvmbase/src/bionic.rs +++ b/libs/libvmbase/src/bionic.rs
@@ -72,6 +72,7 @@ pub static mut ERRNO: c_int = 0; #[no_mangle] +#[allow(unused_unsafe)] unsafe extern "C" fn __errno() -> *mut c_int { // SAFETY: C functions which call this are only called from the main thread, not from exception // handlers.
diff --git a/libs/libvmbase/src/layout.rs b/libs/libvmbase/src/layout.rs index 9a702b0..cf3a8fc 100644 --- a/libs/libvmbase/src/layout.rs +++ b/libs/libvmbase/src/layout.rs
@@ -14,6 +14,8 @@ //! Memory layout. +#![allow(unused_unsafe)] + pub mod crosvm; use crate::linker::__stack_chk_guard;