Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of proc macro deps with multiple kinds #2211

Merged
merged 5 commits into from
Oct 25, 2023

Conversation

ulan
Copy link
Contributor

@ulan ulan commented Oct 24, 2023

A proc macro dependency may have multiple kinds such as build
and normal. Due to a bug in filtering predicate, such dependencies
are considered only as build dependency.

This PR fixes the bug and adds a regression test.

Issue: #2210

A proc macro dependency may have multiple kinds such as build
and normal. Due to a bug in filtering predicate, such dependencies
are considered only as build dependency.

This PR fixes the bug and adds a regression test.

Issue: bazelbuild#2210
@ulan
Copy link
Contributor Author

ulan commented Oct 24, 2023

@UebelAndre could you please take a look? Thanks!

Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One request 😄

crate_universe/src/metadata/dependency.rs Show resolved Hide resolved
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@UebelAndre UebelAndre merged commit 9455b71 into bazelbuild:main Oct 25, 2023
3 checks passed
@ulan
Copy link
Contributor Author

ulan commented Oct 25, 2023

@UebelAndre thanks for merging! Do you know approximately when the next version that includes this fix will be released?

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.

2 participants