#[cfg(windows)]
use super::VmError;
#[cfg(windows)]
use std::path::PathBuf;
#[cfg(windows)]
mod win;
#[cfg(windows)]
#[derive(Debug, Clone)]
pub enum WindowsStdioTransport {
MachineSsh {
host_bin: PathBuf,
},
PodmanRun {
image: String,
},
}
#[cfg(windows)]
pub fn ensure(workspace_parent: &std::path::Path) -> Result<(), VmError> {
win::ensure(workspace_parent)
}
#[cfg(windows)]
pub fn spawn_devshell_vm_stdio(
workspace_root: &std::path::Path,
) -> Result<std::process::Child, VmError> {
win::spawn_devshell_vm_stdio(workspace_root)
}
#[cfg(windows)]
pub fn stdio_guest_mount(workspace_parent: &std::path::Path) -> String {
win::stdio_guest_mount(workspace_parent)
}