Warn when reexporting a private extern crate
This commit is contained in:
parent
3358fb11da
commit
f8d6dcf46e
5 changed files with 24 additions and 13 deletions
|
@ -21,7 +21,7 @@ use sys_common::net::{getsockopt, setsockopt};
|
|||
use time::Duration;
|
||||
|
||||
pub use sys::{cvt, cvt_r};
|
||||
pub use libc as netc;
|
||||
pub extern crate libc as netc;
|
||||
|
||||
pub type wrlen_t = size_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue