diff --git a/anvil/src/udev.rs b/anvil/src/udev.rs index d437f0ead58b..2eba6a362033 100644 --- a/anvil/src/udev.rs +++ b/anvil/src/udev.rs @@ -158,6 +158,7 @@ impl Renderers { } } +#[cfg(feature = "debug")] #[derive(Clone)] enum Texture { Pixman(PixmanTexture),