Skip to content

Commit

Permalink
Escape shouldn't be needed when passing to cmd.arg
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Jun 11, 2018
1 parent ac78720 commit 6936a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fn build_crate(
}
}
cmd.arg("--manifest-path");
cmd.arg(util::escape_argument_spaces(td.join("Cargo.toml").to_str().expect("This path doesn't contain valid UTF-8 characters")));
cmd.arg(td.join("Cargo.toml"));
cmd.args(&["--target", cmode.orig_triple()]);

if verbose {
Expand Down

0 comments on commit 6936a21

Please sign in to comment.