diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-07-25 02:03:52 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-07-25 02:03:52 +0000 |
commit | 3f80902b930282b397c6f480f61747e4cbe02eac (patch) | |
tree | ebb5c8c481d4ed83bedb5b1cc97a1be416359059 /src/lib.rs | |
parent | 7574f06529805fb16aead5256e9831e36aa96d1b (diff) | |
parent | 39f3372a9e3f7a57a16938aaa15c97d061d5feee (diff) | |
download | nix-3f80902b930282b397c6f480f61747e4cbe02eac.zip |
Merge #694
694: Remove workaround for `pub extern crate` r=asomers
On semi-recent Rust versions (I think 1.8+) this now works properly.
Closes #655
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -23,13 +23,7 @@ extern crate nix_test as nixtest; #[macro_use] mod macros; -// In rust 1.8+ this should be `pub extern crate libc` but prior -// to https://github.com/rust-lang/rust/issues/26775 being resolved -// it is necessary to get a little creative. -pub mod libc { - extern crate libc; - pub use self::libc::*; -} +pub extern crate libc; pub use errno::Errno; |