Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix a few out of date warnings
Mikaylaf507698c6242
diff --git a/crates/gpui/src/platform/test.rs b/crates/gpui/src/platform/test.rsindex 6cd833b681b..3b089857378 100644--- a/crates/gpui/src/platform/test.rs+++ b/crates/gpui/src/platform/test.rs@@ -7,5 +7,6 @@ mod window;pub(crate) use dispatcher::*;pub(crate) use display::*;pub(crate) use platform::*;+#[cfg(not(target_os = "macos"))]pub(crate) use text_system::*;pub(crate) use window::*;diff --git a/crates/gpui/src/platform/test/platform.rs b/crates/gpui/src/platform/test/platform.rsindex 942211d5777..6a17c731d6d 100644--- a/crates/gpui/src/platform/test/platform.rs+++ b/crates/gpui/src/platform/test/platform.rs@@ -1,7 +1,7 @@use crate::{AnyWindowHandle, BackgroundExecutor, ClipboardItem, CursorStyle, DisplayId, ForegroundExecutor,- Keymap, Platform, PlatformDisplay, PlatformTextSystem, Task, TestDisplay, TestTextSystem,- TestWindow, WindowOptions,+ Keymap, Platform, PlatformDisplay, PlatformTextSystem, Task, TestDisplay, TestWindow,+ WindowAppearance, WindowOptions,};use anyhow::{anyhow, Result};use collections::VecDeque;@@ -121,7 +121,7 @@ impl Platform for TestPlatform {fn text_system(&self) -> Arc<dyn PlatformTextSystem> {#[cfg(target_os = "linux")]- return Arc::new(TestTextSystem {});+ return Arc::new(crate::platform::test::TestTextSystem {});#[cfg(target_os = "macos")]return Arc::new(crate::platform::mac::MacTextSystem::new());diff --git a/crates/live_kit_client/src/test.rs b/crates/live_kit_client/src/test.rsindex aa2c91febb9..677370c0b83 100644--- a/crates/live_kit_client/src/test.rs+++ b/crates/live_kit_client/src/test.rs@@ -5,8 +5,7 @@ use collections::{BTreeMap, HashMap, HashSet};use futures::Stream;use gpui::{BackgroundExecutor, ImageSource};use live_kit_server::{proto, token};-#[cfg(target_os = "macos")]-use media::core_video::CVImageBuffer;+use parking_lot::Mutex;use postage::watch;use std::{