diff --git a/crates/ide-remote/src/docker.rs b/crates/ide-remote/src/docker.rs index b925bad8..f59dc8cd 100644 --- a/crates/ide-remote/src/docker.rs +++ b/crates/ide-remote/src/docker.rs @@ -193,8 +193,10 @@ pub fn compose_container_root(config_json: &str, service: &str, root: &Path) -> #[cfg(test)] mod tests { use super::*; + #[cfg(unix)] use std::path::PathBuf; + #[cfg(unix)] fn config(command: &str, args: &[&str]) -> RunConfig { RunConfig { id: "app".into(), @@ -212,6 +214,7 @@ mod tests { } } + #[cfg(unix)] fn run<'a>( target: &'a RunTarget, endpoint: &'a BTreeMap,