-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add acct(2) to BSD module #1093
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Thanks! Looks like ci is failing though? |
Looks like it failed here: I'm not familiar with the |
Presumably the API isn't available on that platform? Could it be omitted on that platform? |
Oh definitely! I was just confused why x86_64-rumprun-netbsd didn't compile when netbsd supports acct(2). I will omit with a #[cfg] |
Oh the target is a unikernel fork that's super old and hasn't been updated in forever, which may explain that! |
Do you know how to exclude that specific target triple? The Rust documentation doesn't show a way to be more specific than |
I think that you found the right way to test for it, but it looks like CI is failing? |
I'm sort of at a loss on how to use #[cfg] and keep the linter happy. CI also failed when I used |
The current iteration also fails due to using TBH I think we should go back to the original version of this PR and just remove |
Sounds good. I reverted to the original version |
@jabedude to land, can you also remove the rumprun target from |
This patch removes the x86_64-rumprun-netbsd triple from Travis CI.
@bors: r+ |
📌 Commit 70c178d has been approved by |
Add acct(2) to BSD module The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
💔 Test failed - status-travis |
@bors: retry |
Add acct(2) to BSD module The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
☀️ Test successful - status-appveyor, status-travis |
The
acct
syscall is supported on BSD platforms, the PR aims to add it to the BSD module.