From a11053272d8c489514d91b0cf0dde574e25da297 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Mon, 2 Oct 2023 14:37:08 +0200 Subject: [PATCH] chore: Allow compiling without windowing system --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 09fc0e3d81..262422221e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -166,9 +166,6 @@ #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))] -#[cfg(all(not(feature = "wayland"), not(feature = "winit")))] -compile_error!("must define `wayland` or `winit` feature"); - #[cfg(all(feature = "wayland", feature = "winit"))] compile_error!("cannot use `wayland` feature with `winit");