From 17bb812d5df45c01529183bc8c6be21e3916fad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Fri, 14 Jan 2022 18:21:22 +0000 Subject: [PATCH] Ignore clippy 1.58 (#3667) - Work around #3666 until a proper fix is done - Also update duplicate dependencies list --- crates/bevy_ecs/src/world/mod.rs | 2 ++ crates/bevy_ui/src/flex/mod.rs | 2 ++ deny.toml | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index 1087181adf..c07892a352 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -1159,6 +1159,8 @@ impl fmt::Debug for World { } } +// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666 +#[allow(clippy::non_send_fields_in_send_ty)] unsafe impl Send for World {} unsafe impl Sync for World {} diff --git a/crates/bevy_ui/src/flex/mod.rs b/crates/bevy_ui/src/flex/mod.rs index 0bb7a573d3..cbe1da12a4 100644 --- a/crates/bevy_ui/src/flex/mod.rs +++ b/crates/bevy_ui/src/flex/mod.rs @@ -22,6 +22,8 @@ pub struct FlexSurface { } // SAFE: as long as MeasureFunc is Send + Sync. https://github.com/vislyhq/stretch/issues/69 +// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666 +#[allow(clippy::non_send_fields_in_send_ty)] unsafe impl Send for FlexSurface {} unsafe impl Sync for FlexSurface {} diff --git a/deny.toml b/deny.toml index 4967b53e78..23cc802cbd 100644 --- a/deny.toml +++ b/deny.toml @@ -46,13 +46,15 @@ skip = [ { name = "darling", version = "0.10" }, # from rodio v0.14.0 { name = "darling_core", version = "0.10" }, # from rodio v0.14.0 { name = "darling_macro", version = "0.10" }, # from rodio v0.14.0 + { name = "hashbrown", version = "0.9" }, # from naga v0.8.2 { name = "mach", version = "0.2" }, # from gilrs v0.8.1 { name = "mio", version = "0.7" }, # from notify v5.0.0-pre.11 { name = "ndk", version = "0.3" }, # from rodio v0.14.0 - { name = "ndk", version = "0.4" }, # from rodio v0.14.0 + { name = "ndk", version = "0.5" }, # from rodio v0.14.0 { name = "ndk-macro", version = "0.2" }, # from rodio v0.14.0 { name = "ndk-glue", version = "0.3" }, # from rodio v0.14.0 - { name = "ndk-glue", version = "0.4" }, # from rodio v0.14.0 + { name = "ndk-glue", version = "0.5" }, # from rodio v0.14.0 + { name = "ndk-sys", version = "0.2" }, # from rodio v0.14.0 { name = "nix", version = "0.20" }, # from rodio v0.14.0 { name = "proc-macro-crate", version = "0.1" }, # from rodio v0.14.0 { name = "stdweb", version = "0.1" }, # from rodio v0.14.0