Skip to content

Conversation

@jonas-schievink
Copy link
Contributor

Cargo collapses identical dependencies that are listed under [dependencies] and [build-dependencies] into a single NodeDep. We have to undo that by duplicating the dependency for each of its listed DepKinds.

Not doing that would incorrectly treat a dependency as DepKind::Normal, even though it is also meant to be a DepKind::Build.

Fixes #8812 (comment)

bors r+

@bors
Copy link
Contributor

bors bot commented May 24, 2021

@bors bors bot merged commit 3926f60 into rust-lang:master May 24, 2021
@jonas-schievink jonas-schievink deleted the dup-deps branch May 24, 2021 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant