From e94c139a47055d3492d6ccccfce4acbcba9d7391 Mon Sep 17 00:00:00 2001 From: Xavier L'Heureux Date: Tue, 16 Jul 2019 15:02:54 -0400 Subject: Remove more unsupported functions and make it possible to run tests --- src/sys/stat.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/stat.rs') diff --git a/src/sys/stat.rs b/src/sys/stat.rs index 5d426844..f8fae4ee 100644 --- a/src/sys/stat.rs +++ b/src/sys/stat.rs @@ -289,6 +289,7 @@ pub fn utimensat( Errno::result(res).map(drop) } +#[cfg(not(target_os = "redox"))] pub fn mkdirat(fd: RawFd, path: &P, mode: Mode) -> Result<()> { let res = path.with_nix_path(|cstr| { unsafe { libc::mkdirat(fd, cstr.as_ptr(), mode.bits() as mode_t) } -- cgit v1.2.3