Skip to content

Commit 4dbc514

Browse files
committed
recognize dependency cycles as a broken manifest
1 parent 1427b7b commit 4dbc514

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/prepare.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ fn run_command(cmd: Command) -> anyhow::Result<()> {
158158
missing_deps = true;
159159
} else if line.contains("failed to parse manifest at")
160160
|| line.contains("error: invalid table header")
161+
|| line.contains("error: cyclic feature dependency: feature ")
162+
|| line.contains("error: cyclic package dependency: package ")
161163
{
162164
broken_deps = true;
163165
} else if line.contains("error: failed to parse lock file at") {

0 commit comments

Comments
 (0)