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:
Martin Robinson 2023-07-06 14:39:19 +02:00
parent f11c6045e3
commit 4db0b5d9e3
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
30 changed files with 705 additions and 126 deletions

View file

@ -4,8 +4,6 @@
#![deny(missing_docs)]
extern crate serde_bytes;
use peek_poke::PeekPoke;
use std::cell::Cell;
use std::fmt;

View file

@ -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};

View file

@ -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;