Skip to content

Commit 81f5138

Browse files
bryantbiggsmxpv
authored andcommitted
chore: Revert change to windows target
1 parent ece15e9 commit 81f5138

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

crates/client/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ pub async fn connect(
103103

104104
#[cfg(windows)]
105105
{
106-
tokio::net::windows::named_pipe::ClientOptions::new()
107-
.open(path)
108-
.map_err(|e| std::io::Error::from(e))
106+
let client = tokio::net::windows::named_pipe::ClientOptions::new()
107+
.open(path.clone())
108+
.map_err(|e| std::io::Error::from(e));
109+
async move { client }
109110
}
110111
}
111112
}))

0 commit comments

Comments
 (0)