mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Make some feature gates conditional to avoid unused feature warnings.
This commit is contained in:
parent
c0e2a237ec
commit
d931617449
2 changed files with 3 additions and 3 deletions
|
@ -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)]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#![feature(int_uint)]
|
||||
#![feature(core)]
|
||||
#![feature(hash)]
|
||||
#![cfg_attr(feature = "window", feature(hash))]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(libc)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue