-
Notifications
You must be signed in to change notification settings - Fork 682
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
Omit invalid waitpid flags on OpenBSD #787
Conversation
We don't like to blacklist OS targets and instead follow a whitelist strategy. Please correct this to a whitelist for appropriate platforms. The test failure is due to an upstream change in libc that needs to be fixed. |
I've updated the PR to be a whitelist of targets. |
A few issues here:
|
Additionally, please rebase now that #790 was merged. |
c36f6cc
to
29472a3
Compare
Sorry about that, I messed up! I just pushed the latest rebased diffs. |
No worries. But looking at this further, this seems to actually restrict these constants beyond OpenBSD. These three constants are available on haiku, ios, macos, and netbsd as well. Please re-add those platforms for those constants. You can search for them in the libc crate to see exactly which platforms support what for future reference. |
OpenBSD doesn't have `WEXITED`, `WSTOPPED`, or `WNOWAIT`, so omit those from that platform.
Whoops, I didn't think to check libc. Instead I checked the manpages, and it looks like I checked some out-of-date manpages. I had no idea that y'all supported Haiku 😲 |
OpenBSD doesn't have
WEXITED
,WSTOPPED
, orWNOWAIT
, so omit thosefrom that platform.