Skip to content

Commit 6936a21

Browse files
committed
Escape shouldn't be needed when passing to cmd.arg
1 parent ac78720 commit 6936a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sysroot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ fn build_crate(
105105
}
106106
}
107107
cmd.arg("--manifest-path");
108-
cmd.arg(util::escape_argument_spaces(td.join("Cargo.toml").to_str().expect("This path doesn't contain valid UTF-8 characters")));
108+
cmd.arg(td.join("Cargo.toml"));
109109
cmd.args(&["--target", cmode.orig_triple()]);
110110

111111
if verbose {

0 commit comments

Comments
 (0)