Skip to content

Conversation

@MarijnS95
Copy link
Member

@MarijnS95 MarijnS95 commented Jan 8, 2025

https://github.com/microsoft/windows-rs/releases/tag/0.61.0 (tag is strangely on a much higher version...)

Note that windows 0.59 bumps the MSRV to 1.74, but we still support this crate dependency all the way back to 0.53.

Note that `windows 0.59` bumps the MSRV to `1.74`, but we still support
this crate dependency all the way back to `0.53`.
@ErichDonGubler
Copy link

Seems like a couple of things are coming up in CI:

  1. A new Clippy warning is firing for a lifetime that can be elided, looks easy.
  2. Looks like the MSRV checks need to have their version updated. I think the MSRV for 0.59 is 1.74, but the tests might also be persuaded to pass by resolving windows to a lower version.

For the time being we have to instruct `cargo` to use some lower version
of our dependencies to ensure our MSRV doesn't need to be bumped -
that is one of the resons why we have a supported version range on our
dependencies.  In the future when Rust 1.84 becomes our MSRV, it will
be able to resolve these automatically (assumming crates set their
`rust-version` correctly if at all!):
https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#cargo-considers-rust-versions-for-dependency-version-selection
@MarijnS95
Copy link
Member Author

@ErichDonGubler thanks, but no need to digest the CI warnings; we understand what they mean, I just haven't gotten around to updating this PR yet 🥵

@MarijnS95 MarijnS95 merged commit 5e4191d into main Jan 24, 2025
26 checks passed
@MarijnS95 MarijnS95 deleted the windows-0.59 branch January 24, 2025 16:41
PaulDance pushed a commit to JustRustThings/gpu-allocator that referenced this pull request Aug 18, 2025
* cargo: Bump `windows` crate range to `0.53-0.59`

Note that `windows 0.59` bumps the MSRV to `1.74`, but we still support
this crate dependency all the way back to `0.53`.

* CI: Use minimal dependency versions when running MSRV check

For the time being we have to instruct `cargo` to use some lower version
of our dependencies to ensure our MSRV doesn't need to be bumped -
that is one of the resons why we have a supported version range on our
dependencies.  In the future when Rust 1.84 becomes our MSRV, it will
be able to resolve these automatically (assumming crates set their
`rust-version` correctly if at all!):
https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#cargo-considers-rust-versions-for-dependency-version-selection

* Address new clippy lints
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.

4 participants