Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 59c4cc3

Browse files
committed
fix: remove extra argument "rustc"
1 parent 8f06f99 commit 59c4cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/project-model/src/target_data_layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn get(
1616
let mut cmd = Command::new(toolchain::rustc());
1717
cmd.envs(extra_env);
1818
cmd.current_dir(cargo_toml.parent())
19-
.args(["-Z", "unstable-options", "rustc", "--print", "target-spec-json"])
19+
.args(["-Z", "unstable-options", "--print", "target-spec-json"])
2020
.env("RUSTC_BOOTSTRAP", "1");
2121
if let Some(target) = target {
2222
cmd.args(["--target", target]);

0 commit comments

Comments
 (0)