aboutsummaryrefslogtreecommitdiff
path: root/src/remote.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote.rs')
-rw-r--r--src/remote.rs13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/remote.rs b/src/remote.rs
index 4ab4d531..768d90f1 100644
--- a/src/remote.rs
+++ b/src/remote.rs
@@ -1,24 +1,15 @@
mod args;
mod attach;
-#[cfg(unix)]
-mod host_unix;
+mod host;
mod process;
mod restart_policy;
mod saved;
pub(crate) use args::*;
pub(crate) use attach::*;
-#[cfg(unix)]
-pub(crate) use host_unix::run_remote_client_bridge;
+pub(crate) use host::run_remote_client_bridge;
pub(crate) use saved::*;
-#[cfg(windows)]
-pub(crate) fn run_remote_client_bridge() -> std::io::Result<()> {
- Err(std::io::Error::other(
- "remote Windows hosts are not supported yet",
- ))
-}
-
pub(crate) fn print_saved_ssh_error_hint(err: &std::io::Error, target: &str) {
if is_remote_host_key_error(err) {
eprintln!(