commit | 47d316e750673c2397f1e7398eb1fcde35cdbfe7 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Nov 28 18:41:09 2024 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Fri Dec 13 13:52:53 2024 +0000 |
tree | 97477a85fe01ea00b892df2640faccb44de2c3af | |
parent | 9da23d0ae08207237aab2f18847d6e75e7817fe4 [diff] [blame] |
Update to zerocopy 0.8. Bug: 372549215 Test: m vfio_handler pvmfw virtmgr apkdmverity libdm_rust.test Change-Id: I81f6aea8bf984c0506c6f6b0754b6addc59fc3ca
diff --git a/libs/devicemapper/src/crypt.rs b/libs/devicemapper/src/crypt.rs index 3afd374..75417ed 100644 --- a/libs/devicemapper/src/crypt.rs +++ b/libs/devicemapper/src/crypt.rs
@@ -23,7 +23,7 @@ use std::io::Write; use std::mem::size_of; use std::path::Path; -use zerocopy::AsBytes; +use zerocopy::IntoBytes; const SECTOR_SIZE: u64 = 512;