diff --git a/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs b/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs index bd5b5e2eb..3fecb2616 100644 --- a/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs +++ b/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs @@ -699,6 +699,7 @@ fn start_at( let authenticated_connections = Arc::new(AtomicUsize::new(0)); let worker_shutdown = Arc::clone(&shutdown); let worker_authenticated_connections = Arc::clone(&authenticated_connections); + #[cfg(unix)] let worker_socket = socket_path.clone(); let (ready_sender, ready_receiver) = mpsc::sync_channel(1); let worker = thread::Builder::new()