Skip to content

Commit

Permalink
Only invoke cargo metadata for desired targets (fixes #2183) (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond authored Jul 13, 2024
1 parent 037d825 commit 4803eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uniffi_bindgen/src/library_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ impl CratePathMap {
fn new() -> Result<Self> {
Ok(Self::from(
cargo_metadata::MetadataCommand::new()
.no_deps()
.exec()
.context("error running cargo metadata")?,
))
Expand Down

0 comments on commit 4803eb4

Please sign in to comment.