From 5c14e2b6db8788aa1e7b3fc4f01e782a35688919 Mon Sep 17 00:00:00 2001 From: "Anthony M. Cook" Date: Thu, 31 Oct 2024 11:28:51 -0500 Subject: [PATCH] Mark wayland-backend as optional dependency Fixes #6315 https://github.com/wez/wezterm/commit/09ac8c53777ac6de61b757292f5dc4da80322bbd introduced the `wayland-backend` dependency, but did not mark it as optional, this prevented the build from successfully completing on X11 systems without Wayland development libraries. --- window/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window/Cargo.toml b/window/Cargo.toml index 2ad3ac6b4c2..9d12f1fdef4 100644 --- a/window/Cargo.toml +++ b/window/Cargo.toml @@ -82,7 +82,7 @@ zbus = "4.2" zvariant = "4.0" smithay-client-toolkit = {version = "0.19", default-features=false, optional=true} -wayland-backend = {version="0.3.5", features=["client_system", "rwh_06"]} +wayland-backend = {version="0.3.5", features=["client_system", "rwh_06"], optional=true} wayland-protocols = {version="0.32", optional=true} wayland-client = {version="0.31", optional=true} wayland-egl = {version="0.32", optional=true}