From 1f68cf663360cf8ce299ff1ea613f699a05f65b3 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Sat, 12 Nov 2022 19:51:18 -0800 Subject: [PATCH] Bump MSRV to 1.63 for I/O safety Signed-off-by: Alex Saveau --- .cirrus.yml | 15 ++++++++------- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1e073d70..bdbfed53 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -9,7 +9,7 @@ env: RUSTDOCFLAGS: -D warnings TOOL: cargo # The MSRV - TOOLCHAIN: 1.56.1 + TOOLCHAIN: 1.63 ZFLAGS: # Tests that don't require executing the build binaries @@ -140,23 +140,24 @@ task: matrix: - name: Linux aarch64 arm_container: - image: rust:1.56 + image: rust:1.63 env: RUSTFLAGS: --cfg graviton -D warnings TARGET: aarch64-unknown-linux-gnu - name: Linux x86_64 container: - image: rust:1.56 + image: rust:1.63 env: TARGET: x86_64-unknown-linux-gnu - name: Linux x86_64 musl container: - image: rust:1.56 + image: rust:1.63 env: TARGET: x86_64-unknown-linux-musl setup_script: - rustup target add $TARGET - - rustup component add clippy + - rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET + - rustup component add --toolchain $TOOLCHAIN clippy << : *TEST before_cache_script: rm -rf $CARGO_HOME/registry/index @@ -176,7 +177,7 @@ task: # Tasks for cross-compiling, but no testing task: container: - image: rust:1.56 + image: rust:1.63 env: BUILD: check HOST: x86_64-unknown-linux-gnu @@ -250,7 +251,7 @@ task: task: container: - image: rust:1.56 + image: rust:1.63 env: BUILD: check name: Redox x86_64 diff --git a/CHANGELOG.md b/CHANGELOG.md index d708ba72..4f7855d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ This project adheres to [Semantic Versioning](https://semver.org/). (#[1662](https://github.com/nix-rust/nix/pull/1662)) ### Changed + +- The MSRV is now 1.63 + ([#1862](https://github.com/nix-rust/nix/pull/1862)) + ### Fixed ### Removed diff --git a/Cargo.toml b/Cargo.toml index c337127f..fb0e4cfd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "nix" description = "Rust friendly bindings to *nix APIs" edition = "2018" version = "0.26.1" -rust-version = "1.56" +rust-version = "1.63" authors = ["The nix-rust Project Developers"] repository = "https://github.com/nix-rust/nix" license = "MIT" diff --git a/README.md b/README.md index 2c42b905..97ca145f 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Tier 3: ## Minimum Supported Rust Version (MSRV) -nix is supported on Rust 1.56.1 and higher. Its MSRV will not be +nix is supported on Rust 1.63 and higher. Its MSRV will not be changed in the future without bumping the major or minor version. ## Contributing