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 mapping of "deprecated" attribute to "cfg" attribute #3426

Closed
wants to merge 3 commits into from

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Jan 8, 2025

This fixes the compilation issues reported in #3425 by accurately mapping and propagating the Windows metadata's "Deprecated" attribute to the Rust cfg attribute. It has the added benefit of removing a bunch of redundant cfg attributes, reducing code size as well.

@kennykerr
Copy link
Collaborator Author

Weird - GitHub opened this PR before I finished writing the PR description....

@kennykerr kennykerr closed this Jan 8, 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.

1 participant