Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui_linux: Prevent panic while reporting Wayland errors (#63159)

Cole Millera49de953a850
diff --git a/Cargo.lock b/Cargo.lock
index c63f256a80f..fa8b39b7e6e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20614,6 +20614,7 @@ checksum = "2857dd20b54e916ec7253b3d6b4d5c4d7d4ca2c33c2e11c6c76a99bd8744755d"
dependencies = [
"cc",
"downcast-rs",
+ "log",
"rustix",
"scoped-tls",
"smallvec",
diff --git a/crates/gpui_linux/Cargo.toml b/crates/gpui_linux/Cargo.toml
index 99568212e7c..583ad389721 100644
--- a/crates/gpui_linux/Cargo.toml
+++ b/crates/gpui_linux/Cargo.toml
@@ -94,6 +94,7 @@ calloop-wayland-source = { version = "0.4.1", optional = true }
wayland-backend = { version = "0.3.15", features = [
"client_system",
"dlopen",
+ "log",
], optional = true }
wayland-client = { version = "0.31.11", optional = true }
wayland-cursor = { version = "0.31.11", optional = true }