KEMBAR78
Fix `cfg` generation by kennykerr · Pull Request #3431 · microsoft/windows-rs · GitHub
Skip to content

Conversation

@kennykerr
Copy link
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.

@kennykerr kennykerr merged commit 4c832c9 into master Jan 10, 2025
75 checks passed
@kennykerr kennykerr deleted the cfg-vnext branch January 10, 2025 19:42
@kennykerr kennykerr mentioned this pull request Feb 21, 2025
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