Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #51 - posborne:use-libc-constants, r=jdm
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
- Loading branch information
Showing
4 changed files
with
91 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.