Skip to content

Commit 969237f

Browse files
authored
Bump rustix to 1.0.0
1 parent e542a78 commit 969237f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ calloop = "0.13.0"
7070
libc = "0.2.64"
7171
memmap2 = "0.9.0"
7272
percent-encoding = "2.0"
73-
rustix = { version = "0.38.4", default-features = false }
73+
rustix = { version = "1.0.7", default-features = false }
7474
sctk = { package = "smithay-client-toolkit", version = "0.19.2", default-features = false, features = [
7575
"calloop",
7676
] }

winit-wayland/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ahash.workspace = true
3232
calloop.workspace = true
3333
libc.workspace = true
3434
memmap2.workspace = true
35-
rustix = { workspace = true, features = ["std", "system", "thread", "process"] }
35+
rustix = { workspace = true, features = ["std", "system", "thread", "process", "event", "pipe"] }
3636
sctk.workspace = true
3737
sctk-adwaita = { workspace = true, optional = true }
3838
wayland-backend.workspace = true

winit-wayland/src/event_loop/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ impl PumpEventNotifier {
792792
if Ok(1) == rustix::io::read(read.as_fd(), &mut [0u8; 1]) {
793793
break 'outer;
794794
}
795-
let _ = rustix::event::poll(&mut [poll_fd, pipe_poll_fd], -1);
795+
let _ = rustix::event::poll(&mut [poll_fd, pipe_poll_fd], None);
796796
// Non-blocking read the connection.
797797
let _ = read_guard.read_without_dispatch();
798798
}

0 commit comments

Comments
 (0)