From 6d4ea9817a41c0a7b46160a826df534d5722f2ee Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 17 Nov 2023 08:56:50 -0800 Subject: [PATCH] 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. --- .github/workflows/main.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- clippy.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e1e858..9f86606 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 @@ -26,7 +26,7 @@ jobs: 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' }} + if: ${{ matrix.os == 'macos-latest' && matrix.rust == '1.56' }} uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: '13' diff --git a/Cargo.toml b/Cargo.toml index 5f8d994..6781479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ 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 } 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"