We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bbbfa2 + f776ac9 commit 91221c4Copy full SHA for 91221c4
src/zig.rs
@@ -755,9 +755,10 @@ impl Zig {
755
// cargo install doesn't pass a manifest path so `Cargo.toml` in cwd may not exist
756
continue;
757
}
758
- let mut metadata_cmd = cargo_metadata::MetadataCommand::new();
759
- metadata_cmd.manifest_path(manifest_path);
760
- let metadata = metadata_cmd.exec()?;
+ let metadata = cargo_metadata::MetadataCommand::new()
+ .manifest_path(manifest_path)
+ .no_deps()
761
+ .exec()?;
762
metadata.target_directory.into_std_path_buf().join(target)
763
};
764
let profile = match cargo.profile.as_deref() {
0 commit comments