mirror of
https://github.com/servo/servo.git
synced 2025-06-29 03:23:41 +01:00
Fix warnings when building tests
This commit is contained in:
parent
d707d1b78e
commit
61ea02d0bf
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#![feature(libc, rustc_private, thread_local)]
|
#![feature(libc, rustc_private, thread_local)]
|
||||||
|
#![cfg_attr(not(test), feature(path))]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
@ -22,8 +23,10 @@ extern crate libc;
|
||||||
extern crate url;
|
extern crate url;
|
||||||
|
|
||||||
use compositing::CompositorEventListener;
|
use compositing::CompositorEventListener;
|
||||||
use compositing::windowing::{WindowEvent, WindowMethods};
|
use compositing::windowing::WindowEvent;
|
||||||
|
|
||||||
|
#[cfg(not(test))]
|
||||||
|
use compositing::windowing::WindowMethods;
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
use compositing::{CompositorProxy, CompositorTask, Constellation};
|
use compositing::{CompositorProxy, CompositorTask, Constellation};
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue