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 09b4142 commit 3581476Copy full SHA for 3581476
src/main.rs
@@ -411,9 +411,7 @@ fn run() -> Result<ExitStatus> {
411
412
eprintln!("Warning: Falling back to `cargo` on the host.");
413
414
- // fix for #619: other subcommands have the wrong target dir here.
415
- // in the docker host, the target directory is mounted as /target.
416
- // if we fallback to the host cargo, need to use the original path.
+ // if we fallback to the host cargo, use the same invocation that was made to cross
417
let argv: Vec<String> = env::args().skip(1).collect();
418
cargo::run(&argv, verbose)
419
}
0 commit comments