-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panics with Rust 1.81.0 #636
Comments
Transitivity is violated here. It requires that Assume the events
I am using numbers for the fields as a placeholder for something that implements total order. The closure defines the order like this: In our example, |
cc @dfaust |
I've made PoC with correct sorting to fix this issue https://gist.github.com/maratik123/30e53d21dc13644b77aee4c92a64c375#file-main-rs-L23-L52 |
This fixes notify-rs#636
This fixes notify-rs#636
Thanks everybody. I wasn't able to reproduce the panic, but the new sort logic of #638 should fix the issue and it's also stable now. @maratik123: Thank you for your work, but your solution doesn't quite implement the intended logic. Have a look at my PR if you are interested, I hope it's understandable. If not, let me know. @0xpr03: Can we do a patch release for notify-debouncer-full? |
Thanks for solving this issue. Is that released already? If not, could you do a quick release? |
I've had a suspicion which turned out to be true: We haven't yet release notify-debouncer-full 0.4.0. Currently going through all MRs and writing up the changelog. |
That's why we should probably make a patch release for But apart from that I think we can also make a new release of the main branch. I would like to merge #630 first, though. |
Yeah I'm currently trying to push towards a new major release of 0.4 (and notify) to have a clean state. And then a patch release for debouncer-full (feel free to open a MR for that).
Noted. |
notify-debouncer-full v0.3.2 has been released, this should fix the bug. |
Starting with Rust 1.81.0 we see the following issues in
trunk
:So my understanding, that's an issue with the comparator provided:
The text was updated successfully, but these errors were encountered: