aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/util/lib.rs3
1 files changed, 1 insertions, 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)]