Skip to content

Commit

Permalink
chore: Allow compiling without windowing system (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix authored and wash2 committed Nov 27, 2023
1 parent 8cd0360 commit a959e17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a959e17

Please sign in to comment.