Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix panic when EGL fails without reporting an error (#65329)
Ben Brandt19c69782eb3c
diff --git a/Cargo.lock b/Cargo.lockindex f65089978b6..84ab4d002f7 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -9378,8 +9378,7 @@ dependencies = [[[package]]name = "khronos-egl"version = "6.0.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76"+source = "git+https://github.com/zed-industries/khronos-egl?rev=42214b36347b108fd9630ca6254b96dde59e04fe#42214b36347b108fd9630ca6254b96dde59e04fe"dependencies = ["libc","libloading",diff --git a/Cargo.toml b/Cargo.tomlindex f327ad4e588..062c473f593 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -995,6 +995,9 @@ libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev =notify = { git = "https://github.com/zed-industries/notify", rev = "d842f16b2716bd60f09caf3ae3a894237ab38f54" }notify-types = { git = "https://github.com/zed-industries/notify", rev = "d842f16b2716bd60f09caf3ae3a894237ab38f54" }webrtc-sys = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "0a1c519cfce9b365229026b55de9b9dbdb6fed3c" }+# Avoid panicking when a failed EGL call reports EGL_SUCCESS.+# https://github.com/timothee-haudebourg/khronos-egl/pull/37+khronos-egl = { git = "https://github.com/zed-industries/khronos-egl", rev = "42214b36347b108fd9630ca6254b96dde59e04fe" }# corgi runs build.rs/proc-macros in a sandbox with no write access outside the# action's own OUT_DIR. Upstream `scratch` bakes its build-time OUT_DIR in via