This commit is contained in:
Ashley Wulber 2024-10-16 15:20:36 -04:00
parent 8fb1e21873
commit 757d0753ad
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
14 changed files with 146 additions and 2521 deletions

View file

@ -504,17 +504,17 @@ compile_error!(
Available options: thread-pool, tokio, or smol."
);
#[cfg(all(
target_family = "unix",
not(target_os = "macos"),
not(feature = "wayland"),
not(feature = "x11"),
))]
compile_error!(
"No Unix display server backend has been enabled. You must enable a \
display server feature.\n\
Available options: x11, wayland."
);
// #[cfg(all(
// target_family = "unix",
// not(target_os = "macos"),
// not(feature = "wayland"),
// not(feature = "x11"),
// ))]
// compile_error!(
// "No Unix display server backend has been enabled. You must enable a \
// display server feature.\n\
// Available options: x11, wayland."
// );
#[cfg(feature = "highlighter")]
pub use iced_highlighter as highlighter;
@ -544,19 +544,6 @@ pub use application::Application;
#[cfg(feature = "winit")]
pub use program::Program;
// wayland application
// #[cfg(feature = "wayland")]
// pub mod wayland;
// #[cfg(feature = "wayland")]
// pub use wayland::application;
// #[cfg(feature = "wayland")]
// pub use wayland::application::Application;
// #[cfg(feature = "wayland")]
// pub use wayland::program;
// #[doc(inline)]
// #[cfg(feature = "wayland")]
// pub use wayland::program::Program;
#[cfg(feature = "advanced")]
pub mod advanced;