Make some feature gates conditional to avoid unused feature warnings.

This commit is contained in:
Ms2ger 2015-02-13 14:56:13 +01:00
parent c0e2a237ec
commit d931617449
2 changed files with 3 additions and 3 deletions

View file

@ -8,9 +8,9 @@
#![feature(core)]
#![feature(hash)]
#![feature(int_uint)]
#![feature(io)]
#![cfg_attr(any(target_os="linux", target_os = "android"), feature(io))]
#![feature(libc)]
#![feature(path)]
#![cfg_attr(any(target_os="linux", target_os = "android"), feature(path))]
#![feature(plugin)]
#![feature(rustc_private)]
#![feature(std_misc)]

View file

@ -6,7 +6,7 @@
#![feature(int_uint)]
#![feature(core)]
#![feature(hash)]
#![cfg_attr(feature = "window", feature(hash))]
#![feature(box_syntax)]
#![feature(libc)]