Smithay / calloop

A callback-based Event Loop
MIT License
177 stars 35 forks source link

support for nix 0.27 #175

Closed plugwash closed 7 months ago

plugwash commented 7 months ago

Hi.

I am one of the Debian rust team, and we are currently investigating upgrading the rust-nix crate to 0.27. While we do have a mechnism for packaging multiple versions of a crate it is something we try to avoid where possible. So I started going through the reverse dependencies seeing what it would take to update them to nix 0.27. In most cases this just means some tweaks to data types.

However, I ran into a brick wall with calloop. Taking the latest git version of calloop, bumping the nix dependency to 0.27 and running "cargo test --all --all-targets --features block_on,executor,signals" results in

Running thread 'main' panicked at 'assertion failed: (left == right) left: None, right: Some(SIGUSR2)', tests/signals.rs:88:9 note: run with RUST_BACKTRACE=1 environment variable to display

I have no idea where to start debugging this.

plugwash commented 7 months ago

Sorry just noticed dependabot's pull request, closing this as essentially a duplicate of that.