aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/lib.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-03-25 16:54:34 +0100
committerMs2ger <ms2ger@gmail.com>2015-03-25 16:54:34 +0100
commit56af6a65680056d3d7da7ab255fe38b35563b8de (patch)
tree2c87fee3e15b617404a2a342d3b115e6ada9b6ba /components/util/lib.rs
parentf29ea4e4ef633c023a43f47f7fc8c6b46e51b8df (diff)
downloadservo-56af6a65680056d3d7da7ab255fe38b35563b8de.tar.gz
servo-56af6a65680056d3d7da7ab255fe38b35563b8de.zip
Fix warnings related to std::fs::PathExt on Android.
Diffstat (limited to 'components/util/lib.rs')
-rw-r--r--components/util/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/lib.rs b/components/util/lib.rs
index c9b1c5bb76a..b4fa2b7a5b0 100644
--- a/components/util/lib.rs
+++ b/components/util/lib.rs
@@ -13,7 +13,7 @@
#![feature(old_io)]
#![feature(optin_builtin_traits)]
#![feature(path)]
-#![feature(path_ext)]
+#![cfg_attr(not(target_os = "android"), feature(path_ext))]
#![feature(plugin)]
#![feature(rustc_private)]
#![feature(std_misc)]