File: relax-rustix.diff

package info (click to toggle)
rust-wayland-client 0.31.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 400 kB
  • sloc: xml: 2,750; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -66,7 +66,7 @@
 optional = true
 
 [dependencies.rustix]
-version = "1.0.2"
+version = "0.38.0"
 features = ["event"]
 
 [dependencies.wayland-backend]
--- a/src/conn.rs
+++ b/src/conn.rs
@@ -224,7 +224,7 @@
     )];
 
     loop {
-        match rustix::event::poll(&mut fds, None) {
+        match rustix::event::poll(&mut fds, -1) {
             Ok(_) => break,
             Err(rustix::io::Errno::INTR) => continue,
             Err(e) => return Err(WaylandError::Io(e.into())),