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

Bump windows-core to 0.56-0.59 range and regenerate with 0.59 #133

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MarijnS95
Copy link
Contributor

@MarijnS95 MarijnS95 commented Apr 12, 2024

Depends on #131

windows-bindgen 0.59 now generates way less code since it no longer emits functions for which types are not enabled - that we don't use anyway! And the added bonus is that this generated code is compatible with windows-core all the way back to release 0.56, meaning we don't force everyone to immediately upgrade once they're already on 0.56.

@MarijnS95
Copy link
Contributor Author

The required MSRV here is 1.62: https://docs.rs/crate/windows-core/0.56.0/source/Cargo.toml

@Kijewski Kijewski added Tier-1 Rust Tier-1 platform dependencies Pull requests that update a dependency file labels Aug 26, 2024
This includes the necessary binding changes for compatibility, provided
by `windows-bindgen 0.53-0.54`.  Generated code by `windows-bindgen`
now also expects `TryInto` to be in scope via Rust's `prelude`, which is
only the case in Rust edition `2021`.
The changes generated by `windows-bindgen 0.56` are not compatible with
the previous `0.53-0.54` releases of `windows-core`.
`windows-bindgen 0.59` now generates way less code since it no longer
emits functions for which types are not enabled - that we don't use
anyway!  And the added bonus is that this generated code is compatible
with `windows-core` all the way back to release `0.56`, meaning we don't
force everyone to immediately upgrade once they're already on `0.56`.
@MarijnS95 MarijnS95 changed the title Bump windows-core to 0.56 Bump windows-core to 0.56-0.59 range and regenerate with 0.59 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Tier-1 Rust Tier-1 platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants