We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc5af7 commit 7860d47Copy full SHA for 7860d47
src/docker.rs
@@ -52,6 +52,7 @@ pub fn register(target: &Target, verbose: bool) -> Result<()> {
52
.run(verbose)
53
}
54
55
+#[allow(unused_variables)]
56
pub fn mount(cmd: &mut Command, val: &Path, verbose: bool) -> Result<PathBuf> {
57
let host_path =
58
file::canonicalize(&val).wrap_err_with(|| format!("when canonicalizing path `{val:?}`"))?;
@@ -128,7 +129,7 @@ pub fn run(
128
129
#[cfg(target_os = "windows")]
130
{
131
// On Windows, we can not mount the directory name directly. Instead, we use wslpath to convert the path to a linux compatible path.
- mount_cwd = wslpath(&cwd, verbose)?;
132
+ mount_cwd = wslpath(cwd, verbose)?;
133
134
#[cfg(not(target_os = "windows"))]
135
0 commit comments