diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/lib.rs | 7 |
2 files changed, 1 insertions, 8 deletions
@@ -20,7 +20,7 @@ preadv_pwritev = [] signalfd = [] [dependencies] -libc = "0.2.2" +libc = "0.2.4" bitflags = "0.3.3" [dev-dependencies] @@ -51,14 +51,7 @@ use std::os::unix::ffi::OsStrExt; use std::io; use std::fmt; use std::error; - -#[cfg(any(target_os = "openbsd", target_os = "netbsd", target_os = "bitrig", target_os = "macos", target_os = "ios"))] use libc::PATH_MAX; -#[cfg(not(any(target_os = "openbsd", target_os = "netbsd", target_os = "bitrig", target_os = "macos", target_os = "ios")))] -const PATH_MAX: c_int = 1024; - - - pub type Result<T> = result::Result<T, Error>; |