Skip to content

Commit

Permalink
build: add warning if skipping check_process_lib_version()
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Sep 25, 2024
1 parent 561a9df commit 25fe0c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,13 @@ fn check_process_lib_version(cargo_toml_path: &Path) -> Result<()> {
.exec()
{
Ok(m) => m,
Err(_) => return Ok(()),
Err(_) => {
warn!(
"Couldn't find Cargo.toml where expected: {:?}; continuing.",
cargo_toml_path,
);
return Ok(());
}
};
let packages: HashMap<cargo_metadata::PackageId, &cargo_metadata::Package> = metadata
.packages
Expand Down

0 comments on commit 25fe0c2

Please sign in to comment.