Skip to content

Commit 08b74c7

Browse files
committed
Work around a rustc regression in macro name resolution
rust-lang/rust#53205
1 parent 5410505 commit 08b74c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ports/servo/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
1818
#![cfg_attr(feature = "unstable", feature(core_intrinsics))]
1919

20+
// Work around https://github.com/rust-lang/rust/issues/53205
21+
#[cfg(not(target_os = "android"))] #[macro_use] extern crate log;
22+
2023
#[cfg(not(target_os = "android"))] include!("non_android_main.rs");
2124

2225
#[cfg(target_os = "android")]

ports/servo/non_android_main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ extern crate gleam;
99
extern crate glutin;
1010
#[macro_use] extern crate lazy_static;
1111
// The window backed by glutin
12-
#[macro_use] extern crate log;
1312
#[cfg(any(target_os = "linux", target_os = "macos"))] extern crate osmesa_sys;
1413
extern crate servo;
1514
#[cfg(feature = "unstable")]

0 commit comments

Comments
 (0)