diff --git a/crates/egui/src/lib.rs b/crates/egui/src/lib.rs index a846acc701e..b367158a58b 100644 --- a/crates/egui/src/lib.rs +++ b/crates/egui/src/lib.rs @@ -371,8 +371,6 @@ #![allow(clippy::float_cmp)] #![allow(clippy::manual_range_contains)] -#![cfg_attr(feature = "puffin", deny(unsafe_code))] -#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))] mod animation_manager; pub mod containers; diff --git a/crates/egui_demo_lib/src/lib.rs b/crates/egui_demo_lib/src/lib.rs index 7dba93b4117..68bdc8eed85 100644 --- a/crates/egui_demo_lib/src/lib.rs +++ b/crates/egui_demo_lib/src/lib.rs @@ -10,8 +10,6 @@ #![allow(clippy::float_cmp)] #![allow(clippy::manual_range_contains)] -#![cfg_attr(feature = "puffin", deny(unsafe_code))] -#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))] mod demo; pub mod easy_mark; diff --git a/crates/egui_extras/src/lib.rs b/crates/egui_extras/src/lib.rs index e899106cd45..381242c90b5 100644 --- a/crates/egui_extras/src/lib.rs +++ b/crates/egui_extras/src/lib.rs @@ -8,8 +8,6 @@ #![allow(clippy::float_cmp)] #![allow(clippy::manual_range_contains)] -#![cfg_attr(feature = "puffin", deny(unsafe_code))] -#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))] #[cfg(feature = "chrono")] mod datepicker; diff --git a/crates/emath/src/lib.rs b/crates/emath/src/lib.rs index 4ac46f21947..6ad48bd2543 100644 --- a/crates/emath/src/lib.rs +++ b/crates/emath/src/lib.rs @@ -20,8 +20,6 @@ //! #![allow(clippy::float_cmp)] -#![cfg_attr(feature = "puffin", deny(unsafe_code))] -#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))] use std::ops::{Add, Div, Mul, RangeInclusive, Sub}; diff --git a/crates/epaint/src/lib.rs b/crates/epaint/src/lib.rs index db48fce6876..d5e7055813b 100644 --- a/crates/epaint/src/lib.rs +++ b/crates/epaint/src/lib.rs @@ -22,8 +22,6 @@ #![allow(clippy::float_cmp)] #![allow(clippy::manual_range_contains)] -#![cfg_attr(feature = "puffin", deny(unsafe_code))] -#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))] mod bezier; pub mod color;