mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 14:49:07 -04:00
Bump rustix to 1.0.0
This commit is contained in:
@@ -32,7 +32,7 @@ ahash.workspace = true
|
||||
calloop.workspace = true
|
||||
libc.workspace = true
|
||||
memmap2.workspace = true
|
||||
rustix = { workspace = true, features = ["std", "system", "thread", "process"] }
|
||||
rustix = { workspace = true, features = ["std", "system", "thread", "process", "event", "pipe"] }
|
||||
sctk.workspace = true
|
||||
sctk-adwaita = { workspace = true, optional = true }
|
||||
wayland-backend.workspace = true
|
||||
|
||||
@@ -792,7 +792,7 @@ impl PumpEventNotifier {
|
||||
if Ok(1) == rustix::io::read(read.as_fd(), &mut [0u8; 1]) {
|
||||
break 'outer;
|
||||
}
|
||||
let _ = rustix::event::poll(&mut [poll_fd, pipe_poll_fd], -1);
|
||||
let _ = rustix::event::poll(&mut [poll_fd, pipe_poll_fd], None);
|
||||
// Non-blocking read the connection.
|
||||
let _ = read_guard.read_without_dispatch();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user