Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ fn run_command(cmd: Command) -> anyhow::Result<()> {
|| line.contains("no matching package for override ")
|| (line.contains("The patch location ")
&& line.contains(" does not appear to contain any packages matching the name "))
|| (line.contains("patch location ")
&& line.contains(" does not contain packages matching "))
{
missing_deps = true;
} else if line.contains("failed to parse manifest at")
Expand Down
2 changes: 1 addition & 1 deletion tests/buildtest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,5 +431,5 @@ test_prepare_error_stderr!(
test_invalid_cargotoml_missing_patch,
"invalid-cargotoml-missing-patch",
MissingDependencies,
"The patch location `https://github.com/rust-lang/rustwide.git?rev=07784be00b68cfd6bf80006c8d8669a7d6374ec2` does not appear to contain any packages matching the name `build-rs`"
"patch location `https://github.com/rust-lang/rustwide.git?rev=07784be00b68cfd6bf80006c8d8669a7d6374ec2` does not contain packages matching `build-rs`"
);