aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r--components/gfx/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs
index fb9e36884a1..b42e05375be 100644
--- a/components/gfx/lib.rs
+++ b/components/gfx/lib.rs
@@ -3,13 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(arc_weak)]
-#![feature(box_raw)]
+#![cfg_attr(any(target_os="linux", target_os = "android"), feature(box_raw))]
#![feature(box_syntax)]
#![feature(custom_attribute)]
#![feature(custom_derive)]
-#![feature(float_consts)]
#![feature(hashmap_hasher)]
-#![feature(heap_api)]
+#![cfg_attr(any(target_os="linux", target_os = "android"), feature(heap_api))]
#![feature(iter_cmp)]
#![feature(plugin)]
#![feature(str_char)]