KEMBAR78
Simpler default reference support in `windows-bindgen` by kennykerr · Pull Request #3497 · microsoft/windows-rs · GitHub
Skip to content

Conversation

@kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Feb 19, 2025

Building on #3492, this tweaks reference support in the following ways:

  • You can now use --reference windows as a shorthand for --reference windows,skip-root,Windows as this is the most common pattern when depending on the windows crate.
  • References now use a simpler filter pattern for inclusion rather than a deep type search as this is more intuitive and also much faster.
  • More tests/examples of how to use references in different ways to cover the various edge cases.

@kennykerr kennykerr merged commit e3a11cd into master Feb 19, 2025
90 checks passed
@kennykerr kennykerr deleted the reference-windows-default branch February 19, 2025 19:23
@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.

1 participant