Platform gate libc in libtest

This commit is contained in:
Tatsuyuki Ishi
2017-08-22 13:33:43 +09:00
parent bf9bdefe8a
commit 7f054990b6

View File

@@ -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;