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

Update windows-sys requirement from 0.52 to 0.59 #98

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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