diff --git a/src/lib.rs b/src/lib.rs index 5abcb290a6..c2a89141c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -160,6 +160,10 @@ )] #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))] + +#[cfg(all(feature = "wayland", feature = "winit"))] +compile_error!("cannot use `wayland` feature with `winit"); + pub use iced_futures::futures; use iced_widget::graphics; use iced_widget::renderer;