From 0899b82145c99c6f1838017c94efda8b6236aa6f Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 20 Feb 2026 11:09:49 +0100 Subject: [PATCH] gpui: Fix visual_test.rs feature-gating screen-capture import (#49701) Closes #ISSUE Before you mark this PR as ready for review, make sure that you have: - [ ] Added a solid test coverage and/or screenshots from doing manual testing - [ ] Done a self-review taking into account security and performance aspects - [ ] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - N/A --- crates/gpui/src/platform/visual_test.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/platform/visual_test.rs b/crates/gpui/src/platform/visual_test.rs index 0c5e3e6553df47eb9b62128a67a97e765fb1ccf1..8b9bec7edd170b24b150f2cad88bd2f53e20f247 100644 --- a/crates/gpui/src/platform/visual_test.rs +++ b/crates/gpui/src/platform/visual_test.rs @@ -5,7 +5,6 @@ //! - Deterministic task scheduling via TestDispatcher //! - Controllable time via `advance_clock` -#[cfg(feature = "screen-capture")] use crate::ScreenCaptureSource; use crate::{ AnyWindowHandle, BackgroundExecutor, ClipboardItem, CursorStyle, ForegroundExecutor, Keymap,