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

Added inotify bindings. #1230

Merged
merged 4 commits into from
Feb 4, 2019
Merged

Added inotify bindings. #1230

merged 4 commits into from
Feb 4, 2019

Conversation

vdagonneau
Copy link
Contributor

Hi, I'd like to add inotify bindings. This is a first throw at it. Can you guide me through the process of merging it ?

@gnzlbg
Copy link
Contributor

gnzlbg commented Jan 28, 2019

Hi, I'd like to add inotify bindings. This is a first throw at it.

Thank you for working on this, and I apologize for the delay!

Can you guide me through the process of merging it ?

Sure! The error message in the travis-ci builds says that the type used "is incomplete". This probably means that the C code that we are generating to validate the API does not know about this type. The reason for this is probably that an #include ... is missing in this generated code.

The comment that you have added hints that these types and constants are in the uapi/linux/inotify.h file, so this might be the file that's missing.

We automatically generate the #include ... directives for these headers for linux somewhere around here in this build.rs file: https://github.com/rust-lang/libc/blob/master/libc-test/build.rs#L215

Try committing a change that adds that header there and we'll see if that makes the tests pass.

Please don't hesitate asking for clarification if you have any further questions. I'm also on Discord and Zulip if you need interactive help.

@gnzlbg
Copy link
Contributor

gnzlbg commented Jan 28, 2019

r? @gnzlbg

@gnzlbg
Copy link
Contributor

gnzlbg commented Feb 4, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented Feb 4, 2019

📌 Commit dfb7c0c has been approved by gnzlbg

@vdagonneau
Copy link
Contributor Author

So, everything seems to be working except for the android arm build. It seems to have just timeout-ed.

@gnzlbg
Copy link
Contributor

gnzlbg commented Feb 4, 2019

@vdagonneau yes that's correct, that failure is probably spurious. I've told bors to merge this but the queue appears to be having some issues.

bors added a commit that referenced this pull request Feb 4, 2019
Added inotify bindings.

Hi, I'd like to add inotify bindings. This is a first throw at it. Can you guide me through the process of merging it ?
@bors
Copy link
Contributor

bors commented Feb 4, 2019

⌛ Testing commit dfb7c0c with merge 1f63b26...

@bors
Copy link
Contributor

bors commented Feb 4, 2019

☀️ Test successful - checks-cirrus, checks-travis, status-appveyor
Approved by: gnzlbg
Pushing 1f63b26 to master...

@bors bors merged commit dfb7c0c into rust-lang:master Feb 4, 2019
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.

None yet

3 participants