Platform gate libc in libtest
This commit is contained in:
@@ -35,13 +35,14 @@
|
|||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
#![feature(libc)]
|
#![cfg_attr(unix, feature(libc))]
|
||||||
#![feature(set_stdio)]
|
#![feature(set_stdio)]
|
||||||
#![feature(panic_unwind)]
|
#![feature(panic_unwind)]
|
||||||
#![feature(staged_api)]
|
#![feature(staged_api)]
|
||||||
|
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
extern crate term;
|
extern crate term;
|
||||||
|
#[cfg(unix)]
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate panic_unwind;
|
extern crate panic_unwind;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user