From 9cfe667b6a4fba2f2b4bf955e9a010e4768dfde6 Mon Sep 17 00:00:00 2001 From: Ernstjan Freriks Date: Tue, 17 Nov 2026 16:40:40 +0100 Subject: [PATCH] fix(clipboard): build on Windows again after the command refactor (#4030) #3598 moved blocking from src-tauri's commands::doc to ide_host::ops::doc, but the Windows-only import in commands/clipboard.rs still named the old path, so src-tauri no longer compiled on Windows. It now imports ide_host::ops::doc::blocking like commands/db.rs and commands/perf.rs. Co-authored-by: EjaYF <9842286+EjaYF@users.noreply.github.com> --- src-tauri/src/commands/clipboard.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/commands/clipboard.rs b/src-tauri/src/commands/clipboard.rs index 18f3568f5..e1dd78d8d 100644 --- a/src-tauri/src/commands/clipboard.rs +++ b/src-tauri/src/commands/clipboard.rs @@ -1,11 +1,11 @@ //! The OS clipboard's file list, so the project view and Explorer exchange files. -#[cfg(not(any(target_os = "macos", target_os = "linux")))] -use crate::commands::doc::blocking; use ide_command::desktop_command; #[cfg(any(target_os = "macos", target_os = "linux"))] use ide_core::IdeError; use ide_core::IdeResult; +#[cfg(not(any(target_os = "macos", target_os = "linux")))] +use ide_host::ops::doc::blocking; use std::path::{Path, PathBuf}; use tauri::{AppHandle, WebviewWindow};