Only define feature gates when they're used.

This commit is contained in:
Ms2ger 2015-04-22 16:59:55 +02:00
parent 886805d76c
commit 3cd999b60b

View file

@ -6,8 +6,7 @@
#![feature(int_uint)]
#![feature(box_syntax)]
#![feature(old_io)]
#![feature(std_misc)]
#![cfg_attr(all(feature = "window", target_os = "linux"), feature(old_io, std_misc))]
#[macro_use] extern crate bitflags;
#[cfg(target_os="macos")]