fix libc feature gate
This commit is contained in:
parent
0610a813b7
commit
8bd1f78563
3 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
//ignore-windows: Uses POSIX APIs
|
||||
|
||||
#![feature(libc)]
|
||||
#![feature(rustc_private)]
|
||||
#![allow(unused_extern_crates)] // rustc bug https://github.com/rust-lang/rust/issues/56098
|
||||
|
||||
extern crate libc;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
//ignore-windows: Uses POSIX APIs
|
||||
|
||||
#![feature(libc)]
|
||||
#![feature(rustc_private)]
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//ignore-windows: Uses POSIX APIs
|
||||
|
||||
#![feature(libc)]
|
||||
#![feature(rustc_private)]
|
||||
extern crate libc;
|
||||
|
||||
use std::mem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue