aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 8fc23dc78b4..81a1a62b189 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -95,7 +95,7 @@ mod devtools;
mod horribly_inefficient_timers;
mod webdriver_handlers;
-#[cfg(any(target_os="linux", target_os="android"))]
+#[cfg(target_os="linux")]
#[allow(unsafe_code)]
fn perform_platform_specific_initialization() {
use std::mem;
@@ -111,7 +111,7 @@ fn perform_platform_specific_initialization() {
}
}
-#[cfg(not(any(target_os="linux", target_os="android")))]
+#[cfg(not(target_os="linux"))]
fn perform_platform_specific_initialization() {}
#[allow(unsafe_code)]