Skip to content

Fix cfg generation#3431

Merged
kennykerr merged 3 commits intomasterfrom
cfg-vnext
Jan 10, 2025
Merged

Fix cfg generation#3431
kennykerr merged 3 commits intomasterfrom
cfg-vnext

Conversation

@kennykerr
Copy link
Copy Markdown
Collaborator

@kennykerr kennykerr commented Jan 10, 2025

This update fixes a collection of cfg generation bugs.

  • the deprecated feature was over/under applied
  • feature dependencies weren't being properly folded
  • nested cfg declarations were redundantly declaring required features

This fixes #3425 and builds on #3430. The process of converting dependencies into cfg features is still somewhat tortured but at least now I believe we're a lot closer to quality cfg generation and I can continue to improve the internals without having to deal with a huge diff for code generation validation.

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.

Can not compile windows-rs when enabling UI_ViewManagement feature

1 participant