From 1f6a93144f4a69541503316d14c70e71e29b04e5 Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Mon, 23 Mar 2015 10:54:40 -0700 Subject: [PATCH] Squashing the remaining warnings in utils module. --- components/util/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/util/lib.rs b/components/util/lib.rs index e8c54f6e8f8..58b29b66b49 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -12,13 +12,12 @@ #![feature(io)] #![feature(old_io)] #![feature(optin_builtin_traits)] -#![feature(page_size)] +#![cfg_attr(target_os = "linux", feature(page_size, str_words))] #![feature(path)] #![feature(path_ext)] #![feature(plugin)] #![feature(rustc_private)] #![feature(std_misc)] -#![feature(str_words)] #![feature(unicode)] #![feature(unsafe_destructor)]