Skip to content
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

port to nix 0.27 #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

port to nix 0.27 #98

wants to merge 1 commit into from

Conversation

werdahias
Copy link
Contributor

No description provided.

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also formatting borking the Github Action

Comment on lines +63 to +66
let fd = input.as_raw_fd();
assert!(fd != -1);
let borrowed_fd = unsafe{ BorrowedFd::borrow_raw(input.as_raw_fd())};
let pollfd = PollFd::new(&borrowed_fd, PollFlags::POLLIN);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the previous impl break anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would not compile otherwise. Note that my rust is not the strongest, this compiled and worked for me.

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