Skip to content

Commit

Permalink
Raise MSRV to 1.65.0
Browse files Browse the repository at this point in the history
Because cross now requires that through a transitive dependency.  I
don't know how to install cross for CI with a lower Rust version.
  • Loading branch information
asomers committed Aug 26, 2023
1 parent 6a522c4 commit bf4d616
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
TOOL: cargo
MSRV: 1.63.0
MSRV: 1.65.0
ZFLAGS:

# Tests that don't require executing the build binaries
Expand Down Expand Up @@ -137,7 +137,7 @@ task:
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
- sh rustup.sh -y --profile=minimal --default-toolchain $MSRV
- . $HOME/.cargo/env
- cargo install cross --version 0.2.1 # cross 0.2.2 bumped the MSRV to 1.58.1
- cargo install cross --version 0.2.5
<< : *TEST
before_cache_script: rm -rf $CARGO_HOME/registry/index

Expand All @@ -146,7 +146,7 @@ task:
matrix:
- name: Linux aarch64
arm_container:
image: rust:1.63.0
image: rust:1.65.0
cpu: 1
depends_on:
- FreeBSD 14 amd64 & i686
Expand All @@ -160,13 +160,13 @@ task:
TARGET: aarch64-unknown-linux-gnu
- name: Linux x86_64
container:
image: rust:1.63.0
image: rust:1.65.0
cpu: 1
env:
TARGET: x86_64-unknown-linux-gnu
- name: Linux x86_64 musl
container:
image: rust:1.63.0
image: rust:1.65.0
cpu: 1
depends_on:
- FreeBSD 14 amd64 & i686
Expand Down Expand Up @@ -199,7 +199,7 @@ task:
# Tasks for cross-compiling, but no testing
task:
container:
image: rust:1.63.0
image: rust:1.65.0
cpu: 1
depends_on:
- FreeBSD 14 amd64 & i686
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Changed

- The MSRV is now 1.63
- The MSRV is now 1.65
([#1862](https://github.com/nix-rust/nix/pull/1862))
([#2104](https://github.com/nix-rust/nix/pull/2104))
- The epoll interface now uses a type.
([#1882](https://github.com/nix-rust/nix/pull/1882))
- With I/O-safe type applied in `pty::OpenptyResult` and `pty::ForkptyResult`,
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "nix"
description = "Rust friendly bindings to *nix APIs"
edition = "2021"
version = "0.26.1"
rust-version = "1.63"
rust-version = "1.65"
authors = ["The nix-rust Project Developers"]
repository = "https://github.com/nix-rust/nix"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ The following targets are supported by `nix`:

## Minimum Supported Rust Version (MSRV)

nix is supported on Rust 1.63 and higher. Its MSRV will not be
nix is supported on Rust 1.65 and higher. Its MSRV will not be
changed in the future without bumping the major or minor version.

## Contributing
Expand Down

0 comments on commit bf4d616

Please sign in to comment.