mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Platform gate libc in libtest
This commit is contained in:
parent
bf9bdefe8a
commit
7f054990b6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user