mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix warnings in vendored WebRender
These show up every time one builds, so this adds a patch on top of our vendored copy of WebRender to fix these errors for now.
This commit is contained in:
parent
f11c6045e3
commit
4db0b5d9e3
30 changed files with 705 additions and 126 deletions
|
@ -4,8 +4,6 @@
|
|||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate serde_bytes;
|
||||
|
||||
use peek_poke::PeekPoke;
|
||||
use std::cell::Cell;
|
||||
use std::fmt;
|
||||
|
|
|
@ -340,7 +340,7 @@ pub enum ImageData {
|
|||
}
|
||||
|
||||
mod serde_image_data_raw {
|
||||
extern crate serde_bytes;
|
||||
use serde_bytes;
|
||||
|
||||
use std::sync::Arc;
|
||||
use serde::{Deserializer, Serializer};
|
||||
|
|
15
third_party/webrender/webrender_api/src/lib.rs
vendored
15
third_party/webrender/webrender_api/src/lib.rs
vendored
|
@ -15,28 +15,23 @@
|
|||
#![cfg_attr(feature = "cargo-clippy", allow(clippy::float_cmp, clippy::too_many_arguments))]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal, clippy::new_without_default))]
|
||||
|
||||
extern crate app_units;
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
extern crate byteorder;
|
||||
#[cfg(feature = "nightly")]
|
||||
extern crate core;
|
||||
use core;
|
||||
#[cfg(target_os = "macos")]
|
||||
extern crate core_foundation;
|
||||
use core_foundation;
|
||||
#[cfg(target_os = "macos")]
|
||||
extern crate core_graphics;
|
||||
use core_graphics;
|
||||
#[macro_use]
|
||||
extern crate derive_more;
|
||||
pub extern crate euclid;
|
||||
pub use euclid;
|
||||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
extern crate serde;
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
extern crate time;
|
||||
|
||||
extern crate malloc_size_of;
|
||||
extern crate peek_poke;
|
||||
use malloc_size_of;
|
||||
|
||||
mod api;
|
||||
pub mod channel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue