Skip to content

Commit

Permalink
build: dont try to build self twice
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Nov 13, 2024
1 parent 4ce9fcf commit 018f3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ async fn fetch_dependencies(
debug!("Failed to fetch self as dependency: {e:?}");
};
let canon_package_dir = package_dir.canonicalize()?;
for local_dependency in &local_dependencies {
for local_dependency in &local_dependencies.iter().filter(|d| *d != &canon_package_dir).collect::<Vec<&PathBuf>>() {
// build dependency
let local_dep_deps = local_dependencies
.clone()
Expand Down

0 comments on commit 018f3ee

Please sign in to comment.