Skip to content

Commit

Permalink
Update src/main.rs
Browse files Browse the repository at this point in the history
Remove unnecessary detail in comment.

Co-authored-by: Emil Gardström <[email protected]>
  • Loading branch information
Alexhuszagh and Emilgardis authored May 24, 2022
1 parent 09b4142 commit 3581476
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,7 @@ fn run() -> Result<ExitStatus> {

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

// fix for #619: other subcommands have the wrong target dir here.
// in the docker host, the target directory is mounted as /target.
// 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
let argv: Vec<String> = env::args().skip(1).collect();
cargo::run(&argv, verbose)
}
Expand Down

0 comments on commit 3581476

Please sign in to comment.