Skip to content

Commit

Permalink
Update the MSRV to 1.56.
Browse files Browse the repository at this point in the history
It appears windows-sys 0.52 has an MSRV of 1.56. Update the errno crate
to 1.56 as well.
  • Loading branch information
sunfishcode committed Nov 17, 2023
1 parent 7600ea3 commit 6d4ea98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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 <https://docs.rs/errno>.

Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.48"
msrv = "1.56"

0 comments on commit 6d4ea98

Please sign in to comment.