diff options
Diffstat (limited to 'ports/servo/main.rs')
-rw-r--r-- | ports/servo/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/servo/main.rs b/ports/servo/main.rs index 5d9174d9e73..c4cd657d138 100644 --- a/ports/servo/main.rs +++ b/ports/servo/main.rs @@ -17,6 +17,10 @@ #![cfg_attr(feature = "unstable", feature(core_intrinsics))] +// Have this here rather than in non_android_main.rs to work around +// https://github.com/rust-lang/rust/issues/53205 +#[cfg(not(target_os = "android"))] #[macro_use] extern crate log; + #[cfg(not(target_os = "android"))] include!("non_android_main.rs"); #[cfg(target_os = "android")] |