Bump MSRV to 1.63 for I/O safety

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
This commit is contained in:
Alex Saveau 2022-11-12 19:51:18 -08:00
parent 3286c4df48
commit 1f68cf6633
No known key found for this signature in database
GPG Key ID: 3F8D5B16EB169D48
4 changed files with 14 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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