Skip to content

Expand the windows-sys dependency to include 0.60.0. #1476

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

Merged
merged 4 commits into from
Jun 19, 2025

Conversation

sunfishcode
Copy link
Member

Expand the windows-sys dependency to ">=0.52, <0.61", to support the new windows-sys 0.60.

windows-sys 0.60 does make one change that affected rustix, which is to move the BOOL type from windows_sys::Win32::Foundation::BOOL to windows_sys::core::BOOL, so to support both old and new versions, just hard-code the BOOL type, as it's just an i32 and always will be.

Expand the windows-sys dependency to ">=0.52, <0.61", to support the new
windows-sys 0.60.

windows-sys 0.60 does make one change that affected rustix, which is to
move the `BOOL` type from `windows_sys::Win32::Foundation::BOOL` to
`windows_sys::core::BOOL`, so to support both old and new versions, just
hard-code the `BOOL` type, as it's just an `i32` and always will be.
@sunfishcode sunfishcode force-pushed the sunfishcode/update-windows-sys branch from ea9c396 to 4ba03f7 Compare June 19, 2025 20:22
@sunfishcode sunfishcode merged commit d0467e6 into main Jun 19, 2025
51 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/update-windows-sys branch June 19, 2025 20:48
sunfishcode added a commit that referenced this pull request Jul 15, 2025
* Expand the windows-sys dependency to include 0.60.0.

Expand the windows-sys dependency to ">=0.52, <0.61", to support the new
windows-sys 0.60.

windows-sys 0.60 does make one change that affected rustix, which is to
move the `BOOL` type from `windows_sys::Win32::Foundation::BOOL` to
`windows_sys::core::BOOL`, so to support both old and new versions, just
hard-code the `BOOL` type, as it's just an `i32` and always will be.

* Pin more packages for the MSRV build.

* Fix warnings.

* Disable more test on FreeBSD.
sunfishcode added a commit that referenced this pull request Jul 15, 2025
* Expand the windows-sys dependency to include 0.60.0.

Expand the windows-sys dependency to ">=0.52, <0.61", to support the new
windows-sys 0.60.

windows-sys 0.60 does make one change that affected rustix, which is to
move the `BOOL` type from `windows_sys::Win32::Foundation::BOOL` to
`windows_sys::core::BOOL`, so to support both old and new versions, just
hard-code the `BOOL` type, as it's just an `i32` and always will be.

* Pin more packages for the MSRV build.

* Fix warnings.

* Disable more test on FreeBSD.
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