fix(cross-platform): 非 Windows 分支委托给 cfg 配对的桩函数

上一提交内联 false 使非 Windows 版 set_topmost_windows 桩失去调用者,
在 -D warnings 下报 never used。恢复委托调用。
This commit is contained in:
2026-09-30 13:17:21 +08:00
parent 5783a500e8
commit f01601114c
+1 -2
View File
@@ -10,8 +10,7 @@ pub fn set_topmost(window: &gpui_kit::Window, topmost: bool) -> bool {
} }
#[cfg(not(target_os = "windows"))] #[cfg(not(target_os = "windows"))]
{ {
let _ = (window, topmost); set_topmost_windows(window, topmost)
false
} }
} }