mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Update rust-analyzer to use windows-sys crate
This commit is contained in:
parent
49e502b277
commit
99e2530583
7 changed files with 9 additions and 10 deletions
|
|
@ -22,7 +22,7 @@ itertools.workspace = true
|
|||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
miow = "0.6.0"
|
||||
winapi = { version = "0.3.9", features = ["winerror"] }
|
||||
windows-sys = { version = "0.52", features = ["Win32_Foundation"] }
|
||||
|
||||
[features]
|
||||
# Uncomment to enable for the whole crate graph
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ mod imp {
|
|||
pipe::NamedPipe,
|
||||
Overlapped,
|
||||
};
|
||||
use winapi::shared::winerror::ERROR_BROKEN_PIPE;
|
||||
use windows_sys::Win32::Foundation::ERROR_BROKEN_PIPE;
|
||||
|
||||
struct Pipe<'a> {
|
||||
dst: &'a mut Vec<u8>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue