Skip to content

Revert "Remove cargo from regressions test" - #214

Open
l2dy wants to merge 2 commits into
masterfrom
regressions-test
Open

Revert "Remove cargo from regressions test"#214
l2dy wants to merge 2 commits into
masterfrom
regressions-test

Conversation

@l2dy

@l2dy l2dy commented Mar 28, 2026

Copy link
Copy Markdown
Owner

This reverts commit 0f0b78c.

l2dy added 2 commits March 28, 2026 22:19
When a feature dependency like `depname/feature` references an optional
dependency that uses `dep:` syntax (no implicit feature created), the
feature graph builder incorrectly created a phantom PackageFeature node
for the dependency name. This caused IllegalStateException in
FeatureGraph.buildFor when the node didn't exist in the graph.

Only create the implicit dependency feature when it actually exists in
the package's rawFeatures map.
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