diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e1e858..dffb299 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [stable, nightly, '1.48'] + rust: [stable, nightly, '1.56'] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -24,12 +24,6 @@ jobs: uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - # Workaround link failures if XCode 14 is combined with Rust <= 1.53 - - name: Downgrade to XCode 13 - if: ${{ matrix.os == 'macos-latest' && matrix.rust == '1.48' }} - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '13' - name: Setup cache uses: Swatinem/rust-cache@v2 - name: Test (no features) diff --git a/Cargo.toml b/Cargo.toml index fe407fe..6781479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,13 +10,13 @@ documentation = "https://docs.rs/errno" repository = "https://github.com/lambda-fairy/rust-errno" description = "Cross-platform interface to the `errno` variable." categories = ["no-std", "os"] -rust-version = "1.48" +rust-version = "1.56" [target.'cfg(unix)'.dependencies] libc = { version = "0.2", default-features = false } [target.'cfg(windows)'.dependencies.windows-sys] -version = "0.48" +version = "0.52" features = [ "Win32_Foundation", "Win32_System_Diagnostics_Debug", diff --git a/README.md b/README.md index 48def10..6a9a42c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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) -Cross-platform interface to the [`errno`][errno] variable. Works on Rust 1.48 or newer. +Cross-platform interface to the [`errno`][errno] variable. Works on Rust 1.56 or newer. Documentation is available at . diff --git a/clippy.toml b/clippy.toml index f691ea3..62ca742 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.48" +msrv = "1.56"