diff options
author | User Vagrant <jebarker@gmail.com> | 2015-12-19 18:13:52 +0000 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2016-01-18 21:29:39 -0800 |
commit | c35e7f87818d73dd655e74f8c8853ef7ae077054 (patch) | |
tree | 929c425478dcbf0863a05327a9e5180d92425624 | |
parent | 8d4d60fdda07e4f1d4877d67c47ddf8d8a679349 (diff) | |
download | nix-c35e7f87818d73dd655e74f8c8853ef7ae077054.zip |
Update to libc 0.2.4
-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>; |