From c501ef68df6ab33ff7126efbfd11185bfb4aac05 Mon Sep 17 00:00:00 2001 From: Andy Leiserson Date: Wed, 22 Oct 2025 16:43:59 -0700 Subject: [PATCH] Remove stale attributes --- wgpu-core/src/command/compute_command.rs | 1 - wgpu-core/src/command/render_command.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/wgpu-core/src/command/compute_command.rs b/wgpu-core/src/command/compute_command.rs index 3a44cfad9..758ffc5f0 100644 --- a/wgpu-core/src/command/compute_command.rs +++ b/wgpu-core/src/command/compute_command.rs @@ -40,7 +40,6 @@ pub enum ComputeCommand { }, PushDebugGroup { - //#[cfg_attr(not(any(feature = "serde", feature = "replay")), allow(dead_code))] color: u32, len: usize, }, diff --git a/wgpu-core/src/command/render_command.rs b/wgpu-core/src/command/render_command.rs index 8364c0584..75d4a1919 100644 --- a/wgpu-core/src/command/render_command.rs +++ b/wgpu-core/src/command/render_command.rs @@ -103,13 +103,11 @@ pub enum RenderCommand { family: DrawCommandFamily, }, PushDebugGroup { - #[cfg_attr(not(any(feature = "serde", feature = "replay")), allow(dead_code))] color: u32, len: usize, }, PopDebugGroup, InsertDebugMarker { - #[cfg_attr(not(any(feature = "serde", feature = "replay")), allow(dead_code))] color: u32, len: usize, },