Update dependencies for rust 2022-03-18.

This commit is contained in:
4lDO2
2022-03-10 16:13:41 +01:00
parent ec0047c864
commit ebd597f748
16 changed files with 227 additions and 239 deletions
+4
View File
@@ -279,6 +279,10 @@ impl Pal for Sys {
e(unsafe { syscall!(GETUID) }) as uid_t
}
fn lchown(path: &CStr, owner: uid_t, group: gid_t) -> c_int {
e(unsafe { syscall!(LCHOWN, path.as_ptr(), owner, group) })
}
fn link(path1: &CStr, path2: &CStr) -> c_int {
e(unsafe {
syscall!(