From c6428a8e4c78bf60e925b408768727d69eb05cd7 Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Fri, 4 Dec 2026 09:23:15 +0800 Subject: [PATCH] fix(terminal): give the Windows environment tests a module of their own (#7886) #7837 and #7838 were merged side by side and each added a Windows-only test module named windows_sessions to ide-terminal, so the Windows build failed with E0428. The registry environment test's module is renamed to windows_environment. --- crates/ide-terminal/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ide-terminal/src/lib.rs b/crates/ide-terminal/src/lib.rs index 4e9e8846f7..e0adcd24b9 100644 --- a/crates/ide-terminal/src/lib.rs +++ b/crates/ide-terminal/src/lib.rs @@ -1966,9 +1966,9 @@ mod windows_sessions { } } -/// Real ConPTY sessions on Windows. +/// The environment of real ConPTY sessions on Windows. #[cfg(all(test, windows))] -mod windows_sessions { +mod windows_environment { use super::*; use std::sync::mpsc::Receiver;