Update cargo dependencies

This commit is contained in:
topjohnwu
2025-04-11 13:14:53 -07:00
committed by John Wu
parent c0a1fb77be
commit cb08504fe5
4 changed files with 73 additions and 76 deletions

View File

@@ -413,8 +413,8 @@ impl Cpio {
file.open(O_RDONLY | O_CLOEXEC)?.read_to_end(&mut content)?;
mode | S_IFREG
} else {
rdevmajor = unsafe { major(attr.st.st_rdev.as_()) }.as_();
rdevminor = unsafe { minor(attr.st.st_rdev.as_()) }.as_();
rdevmajor = major(attr.st.st_rdev.as_()).as_();
rdevminor = minor(attr.st.st_rdev.as_()).as_();
if attr.is_block_device() {
mode | S_IFBLK
} else if attr.is_char_device() {