diff --git a/src/gpu/mod.rs b/src/gpu/mod.rs index 200aed74..4b5fd41d 100644 --- a/src/gpu/mod.rs +++ b/src/gpu/mod.rs @@ -26,6 +26,7 @@ impl Engine { #[cfg(feature = "metal")] pub use crate::gpu::metal::autoreleasepool as runloop; #[cfg(not(feature = "metal"))] +#[allow(dead_code)] pub fn runloop T>(f: F) -> T { f() } #[derive(Copy, Clone, Debug)]