diff --git a/Cargo.toml b/Cargo.toml index f6a0343..df9402d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compiletest_rs" -version = "0.3.7" +version = "0.3.8" authors = [ "The Rust Project Developers" , "Thomas Bracht Laumann Jespersen " , "Manish Goregaokar " @@ -18,7 +18,7 @@ name = "compiletest_rs" diff = "0.1.10" filetime = "0.1" getopts = "0.2" -log = "0.3" +log = "0.4" rustc-serialize = "0.3" tempdir = { version = "0.3", optional = true } @@ -26,8 +26,8 @@ tempdir = { version = "0.3", optional = true } libc = "0.2" [target."cfg(windows)".dependencies] -miow = "0.2" -winapi = "0.2" +miow = "0.3" +winapi = { version = "0.3", features = ["winerror"] } [features] tmp = ["tempdir"] diff --git a/src/read2.rs b/src/read2.rs index 1d8816c..312e5b4 100644 --- a/src/read2.rs +++ b/src/read2.rs @@ -115,7 +115,7 @@ mod imp { use self::miow::iocp::{CompletionPort, CompletionStatus}; use self::miow::pipe::NamedPipe; use self::miow::Overlapped; - use self::winapi::ERROR_BROKEN_PIPE; + use self::winapi::shared::winerror::ERROR_BROKEN_PIPE; struct Pipe<'a> { dst: &'a mut Vec,