Skip to content

Conversation

@posborne
Copy link
Contributor

@posborne posborne commented Nov 9, 2018

Since gaol was first written, most system definitions have made their way into the libc crate (with good test coverage against various libc implementations and platforms).

This conversion was fairly mechanical. There's a mix of pulling libc definitions into the namespace and using the libc::. If there is a preference one way or the other I can certainly amend the commit with the preferred style. This codebase could probably use a good rustfmt too but for this change I avoided that (except for on platform/unix/process.rs which had been thoroughly touched already).

r? @pcwalton

Since gaol was first written, most system definitions have made their
way into the libc crate (with good test coverage against various libc
implementations).  Make an attempt to use those definitions wherever
reasonable.
@posborne
Copy link
Contributor Author

@bors-servo retry

@bors-servo
Copy link

@posborne: 🔑 Insufficient privileges: not in try users

@jdm
Copy link
Member

jdm commented Nov 17, 2018

@bors-servo r+

@bors-servo
Copy link

📌 Commit df8ce8c has been approved by jdm

@bors-servo
Copy link

⌛ Testing commit df8ce8c with merge a23a2d8...

bors-servo pushed a commit that referenced this pull request Nov 17, 2018
Use libc definitions wherever they are provided

Since gaol was first written, most system definitions have made their way into the libc crate (with good test coverage against various libc implementations and platforms).

This conversion was fairly mechanical.  There's a mix of pulling libc definitions into the namespace and using the `libc::`.  If there is a preference one way or the other I can certainly amend the commit with the preferred style.  This codebase could probably use a good `rustfmt` too but for this change I avoided that (except for on platform/unix/process.rs which had been thoroughly touched already).

r? @pcwalton
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: jdm
Pushing a23a2d8 to master...

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.

3 participants