mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00
fix: remove extra argument "rustc"
This commit is contained in:
parent
8f06f995c5
commit
59c4cc36c4
@ -16,7 +16,7 @@ pub fn get(
|
||||
let mut cmd = Command::new(toolchain::rustc());
|
||||
cmd.envs(extra_env);
|
||||
cmd.current_dir(cargo_toml.parent())
|
||||
.args(["-Z", "unstable-options", "rustc", "--print", "target-spec-json"])
|
||||
.args(["-Z", "unstable-options", "--print", "target-spec-json"])
|
||||
.env("RUSTC_BOOTSTRAP", "1");
|
||||
if let Some(target) = target {
|
||||
cmd.args(["--target", target]);
|
||||
|
Loading…
Reference in New Issue
Block a user