Skip to content

Commit

Permalink
chore: Allow compiling without windowing system
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Oct 2, 2023
1 parent 92fe826 commit a110532
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit a110532

Please sign in to comment.