We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d589c5 commit bfc877aCopy full SHA for bfc877a
Cargo.toml
@@ -28,8 +28,8 @@ serde_derive = "1.0"
28
libc = "0.2"
29
30
[target."cfg(windows)".dependencies]
31
-miow = "0.2"
32
-winapi = "0.2"
+miow = "0.3"
+winapi = { version = "0.3", features = ["winerror"] }
33
34
[features]
35
tmp = ["tempdir"]
src/read2.rs
@@ -115,7 +115,7 @@ mod imp {
115
use self::miow::iocp::{CompletionPort, CompletionStatus};
116
use self::miow::pipe::NamedPipe;
117
use self::miow::Overlapped;
118
- use self::winapi::ERROR_BROKEN_PIPE;
+ use self::winapi::shared::winerror::ERROR_BROKEN_PIPE;
119
120
struct Pipe<'a> {
121
dst: &'a mut Vec<u8>,
0 commit comments