Platform gate libc in libtest

This commit is contained in:
Tatsuyuki Ishi 2017-08-22 13:33:43 +09:00
parent bf9bdefe8a
commit 7f054990b6
1 changed files with 2 additions and 1 deletions

View File

@ -35,13 +35,14 @@
#![deny(warnings)]
#![feature(asm)]
#![feature(libc)]
#![cfg_attr(unix, feature(libc))]
#![feature(set_stdio)]
#![feature(panic_unwind)]
#![feature(staged_api)]
extern crate getopts;
extern crate term;
#[cfg(unix)]
extern crate libc;
extern crate panic_unwind;