diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-03-25 16:54:34 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-03-25 16:54:34 +0100 |
commit | 56af6a65680056d3d7da7ab255fe38b35563b8de (patch) | |
tree | 2c87fee3e15b617404a2a342d3b115e6ada9b6ba /components/util/lib.rs | |
parent | f29ea4e4ef633c023a43f47f7fc8c6b46e51b8df (diff) | |
download | servo-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.rs | 2 |
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)] |