Skip to content

Commit 195e97c

Browse files
dependabot[bot]lambda-fairywmmc88
authored
Update windows-sys requirement from 0.52 to 0.59 (#98)
* 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]>
1 parent 3c1c95c commit 195e97c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ jobs:
2424
uses: dtolnay/rust-toolchain@master
2525
with:
2626
toolchain: ${{ matrix.rust }}
27-
- name: Override libc version (Rust 1.56 only)
27+
- name: Pin to old dependency versions (Rust 1.56 only)
2828
if: matrix.rust == '1.56'
29-
run: cargo update -p libc --precise 0.2.163
29+
run: |
30+
cargo update -p libc --precise 0.2.163
31+
cargo update -p windows-sys --precise 0.52.0
3032
- name: Setup cache
3133
uses: Swatinem/rust-cache@v2
3234
- name: Test (no features)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.56"
1616
libc = { version = "0.2", default-features = false }
1717

1818
[target.'cfg(windows)'.dependencies.windows-sys]
19-
version = "0.52"
19+
version = ">=0.52, <=0.59"
2020
features = [
2121
"Win32_Foundation",
2222
"Win32_System_Diagnostics_Debug",

0 commit comments

Comments
 (0)