commit | 13fc9ee90766828d93d0f8fd262453b0d140d8aa | [log] [tgz] |
---|---|---|
author | Charisee <chiw@google.com> | Wed Mar 20 19:05:10 2024 +0000 |
committer | Charisee <chiw@google.com> | Fri Mar 22 00:42:44 2024 +0000 |
tree | 0e7f8667e244a4cdd8b13e3c24dd42ff690b1a55 | |
parent | ab86c8364b0c7e2f7479a65172884786f783194f [diff] |
Update needed for Rust v1.77.0 Bug: http://b/330185853 Test: ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz --target aosp_cf_x86_64_phone --image Change-Id: I22a1ad28f26c99e7e766e677b4cf13bc340bf95d
diff --git a/service_vm/manager/src/lib.rs b/service_vm/manager/src/lib.rs index 8dedec5..44c7871 100644 --- a/service_vm/manager/src/lib.rs +++ b/service_vm/manager/src/lib.rs
@@ -225,6 +225,7 @@ } let instance_img = OpenOptions::new() .create(true) + .truncate(true) .read(true) .write(true) .open(instance_img_path)
diff --git a/zipfuse/src/main.rs b/zipfuse/src/main.rs index e8be42c..ef31a0c 100644 --- a/zipfuse/src/main.rs +++ b/zipfuse/src/main.rs
@@ -320,6 +320,7 @@ } } + #[allow(clippy::unused_io_amount)] fn read<W: io::Write + ZeroCopyWriter>( &self, _ctx: Context,