We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21079ad commit 73ba85fCopy full SHA for 73ba85f
ports/servo/main.rs
@@ -17,6 +17,10 @@
17
18
#![cfg_attr(feature = "unstable", feature(core_intrinsics))]
19
20
+// Have this here rather than in non_android_main.rs to work around
21
+// https://github.com/rust-lang/rust/issues/53205
22
+#[cfg(not(target_os = "android"))] #[macro_use] extern crate log;
23
+
24
#[cfg(not(target_os = "android"))] include!("non_android_main.rs");
25
26
#[cfg(target_os = "android")]
ports/servo/non_android_main.rs
@@ -9,7 +9,6 @@ extern crate gleam;
9
extern crate glutin;
10
#[macro_use] extern crate lazy_static;
11
// The window backed by glutin
12
-#[macro_use] extern crate log;
13
#[cfg(any(target_os = "linux", target_os = "macos"))] extern crate osmesa_sys;
14
extern crate servo;
15
#[cfg(feature = "unstable")]
0 commit comments