Skip to content

Commit 3581476

Browse files
Update src/main.rs
Remove unnecessary detail in comment. Co-authored-by: Emil Gardström <[email protected]>
1 parent 09b4142 commit 3581476

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ fn run() -> Result<ExitStatus> {
411411

412412
eprintln!("Warning: Falling back to `cargo` on the host.");
413413

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.
414+
// if we fallback to the host cargo, use the same invocation that was made to cross
417415
let argv: Vec<String> = env::args().skip(1).collect();
418416
cargo::run(&argv, verbose)
419417
}

0 commit comments

Comments
 (0)