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 e88c7b2 commit d0f0c4aCopy full SHA for d0f0c4a
src/docker.rs
@@ -170,10 +170,10 @@ pub fn run(target: &Target,
170
.args(&["-v", &format!("{}:/cargo:Z", cargo_dir.display())])
171
// Prevent `bin` from being mounted inside the Docker container.
172
.args(&["-v", "/cargo/bin"])
173
- .args(&["-v", &format!("{}:/{}:Z", mount_root.display(), mount_root.display())])
+ .args(&["-v", &format!("{}:/project:Z", mount_root.display())])
174
.args(&["-v", &format!("{}:/rust:Z,ro", sysroot.display())])
175
.args(&["-v", &format!("{}:/target:Z", target_dir.display())])
176
- .args(&["-w", &mount_root.display().to_string()]);
+ .args(&["-w", "/project"]);
177
178
if atty::is(Stream::Stdin) {
179
docker.arg("-i");
0 commit comments