Replace libc::c_int with core::ffi::c_int
And remove the libc crate when it isn't needed
This commit is contained in:
@@ -431,6 +431,9 @@ extern crate test;
|
||||
#[allow(unused_imports)] // macros from `alloc` are not used on all platforms
|
||||
#[macro_use]
|
||||
extern crate alloc as alloc_crate;
|
||||
|
||||
// Many compiler tests depend on libc being pulled in by std
|
||||
// so include it here even if it's unused.
|
||||
#[doc(masked)]
|
||||
#[allow(unused_extern_crates)]
|
||||
extern crate libc;
|
||||
|
||||
Reference in New Issue
Block a user