8000 Update to rustix 1.0 by psychon · Pull Request #956 · psychon/x11rb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update to rustix 1.0 #956

New issue < 8000 button aria-label="Close dialog" data-close-dialog="" type="button" data-view-component="true" class="Link--muted btn-link position-absolute p-4 right-0">

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

Merged
merged 1 commit into from
Apr 13, 2025
Merged

Update to rustix 1.0 #956

merged 1 commit into from
Apr 13, 2025

Conversation

psychon
Copy link
Owner
@psychon psychon commented Apr 13, 2025

https://lib.rs/~psychon/dash#x11rb says we should do so.

I took a guess and how to fix the API changes

  • Replacing connect_unix with connect seemed obious
  • Poll with a negative timeout argument means "no timeout", so that's None
  • The compiler asked for MaybeUninit and after I provided it, the compiler was happy

Signed-off-by: Uli Schlachter <psychon@znc.in>
@mergify mergify bot merged commit 2ba02a1 into master Apr 13, 2025
21 checks passed
@mergify mergify bot deleted the update-rustix branch April 13, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0