mirror of
https://github.com/servo/servo.git
synced 2025-07-12 18:03:49 +01:00
Work around a rustc regression in macro name resolution
https://github.com/rust-lang/rust/issues/53205
This commit is contained in:
parent
21079ad690
commit
73ba85f3e8
2 changed files with 4 additions and 1 deletions
|
@ -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")]
|
||||
|
|
|
@ -9,7 +9,6 @@ extern crate gleam;
|
|||
extern crate glutin;
|
||||
#[macro_use] extern crate lazy_static;
|
||||
// The window backed by glutin
|
||||
#[macro_use] extern crate log;
|
||||
#[cfg(any(target_os = "linux", target_os = "macos"))] extern crate osmesa_sys;
|
||||
extern crate servo;
|
||||
#[cfg(feature = "unstable")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue