Skip to content

Commit

Permalink
Update windows-sys requirement from 0.52 to 0.59 (#98)
Browse files Browse the repository at this point in the history
* Update windows-sys requirement from 0.52 to 0.59

Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](microsoft/windows-rs@0.52.0...0.59.0)

---
updated-dependencies:
- dependency-name: windows-sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Try a range of versions

Co-authored-by: Melvin Wang <[email protected]>

* Try pin windows-sys too

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Wong <[email protected]>
Co-authored-by: Melvin Wang <[email protected]>
  • Loading branch information
3 people authored Nov 27, 2024
1 parent 3c1c95c commit 195e97c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Override libc version (Rust 1.56 only)
- name: Pin to old dependency versions (Rust 1.56 only)
if: matrix.rust == '1.56'
run: cargo update -p libc --precise 0.2.163
run: |
cargo update -p libc --precise 0.2.163
cargo update -p windows-sys --precise 0.52.0
- name: Setup cache
uses: Swatinem/rust-cache@v2
- name: Test (no features)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.56"
libc = { version = "0.2", default-features = false }

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
version = ">=0.52, <=0.59"
features = [
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",
Expand Down

0 comments on commit 195e97c

Please sign in to comment.