-
Notifications
You must be signed in to change notification settings - Fork 677
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
Document the sys::wait module #1732
base: master
Are you sure you want to change the base?
Conversation
2ccb464
to
c1f1007
Compare
The Haiku failure is an issue with the rust stdlib. I'll work on a fix. |
/// and `PtraceSyscall`. Portable code should avoid exhaustively | ||
/// matching on `WaitStatus`. | ||
/// Note that there are two Linux-specific enum variants, | ||
/// [`PtraceEvent`](WaitStatus) and [`PtraceSyscall`](WaitStatus). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these links correct or did you mean to link to the specific enum variants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Listing the variants breaks CI builds on the platforms where those variants don't exist. This was my solution after I couldn't figure out how to make cfg apply to the comment block instead of the enum below. Happy to make the change if you know how.
Noteworthy secondary changes included as a result of the primary documentation: * Additions to unistd::Pid to support waitpid calling conventions * Change the waitpid function signature (backward compatible) * Application of rustfmt to unistd.rs and sys::wait.rs Continued from work by * Marcin Mielniczuk <marmistrz.dev@gmail.com> * Michael Aaron Murphy <mmstickman@gmail.com> Closes nix-rust#654 and nix-rust#651
0f3a833
to
d01d593
Compare
Noteworthy secondary changes included as a result of the primary documentation:
Continued from work by
Closes #654 and #651