Skip to content

Commit fbe2e15

Browse files
authored
Update to windows-sys 0.52. (#91)
* Update to windows-sys 0.52. * Update the MSRV to 1.56. It appears windows-sys 0.52 has an MSRV of 1.56. Update the errno crate to 1.56 as well. * Remove a workaround that is no longer needed with Rust 1.56.
1 parent a594777 commit fbe2e15

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,14 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
rust: [stable, nightly, '1.48']
19+
rust: [stable, nightly, '1.56']
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323
- name: Install toolchain
2424
uses: dtolnay/rust-toolchain@master
2525
with:
2626
toolchain: ${{ matrix.rust }}
27-
# Workaround link failures if XCode 14 is combined with Rust <= 1.53
28-
- name: Downgrade to XCode 13
29-
if: ${{ matrix.os == 'macos-latest' && matrix.rust == '1.48' }}
30-
uses: maxim-lobanov/setup-xcode@v1
31-
with:
32-
xcode-version: '13'
3327
- name: Setup cache
3428
uses: Swatinem/rust-cache@v2
3529
- name: Test (no features)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ documentation = "https://docs.rs/errno"
1010
repository = "https://github.com/lambda-fairy/rust-errno"
1111
description = "Cross-platform interface to the `errno` variable."
1212
categories = ["no-std", "os"]
13-
rust-version = "1.48"
13+
rust-version = "1.56"
1414

1515
[target.'cfg(unix)'.dependencies]
1616
libc = { version = "0.2", default-features = false }
1717

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# errno [![CI](https://github.com/lambda-fairy/rust-errno/actions/workflows/main.yml/badge.svg)](https://github.com/lambda-fairy/rust-errno/actions/workflows/main.yml) [![Cargo](https://img.shields.io/crates/v/errno.svg)](https://crates.io/crates/errno)
22

3-
Cross-platform interface to the [`errno`][errno] variable. Works on Rust 1.48 or newer.
3+
Cross-platform interface to the [`errno`][errno] variable. Works on Rust 1.56 or newer.
44

55
Documentation is available at <https://docs.rs/errno>.
66

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.48"
1+
msrv = "1.56"

0 commit comments

Comments
 (0)