Skip to content

Commit 7f3cb12

Browse files
committed
Bump MSRV to 1.63 for I/O safety
Signed-off-by: Alex Saveau <[email protected]>
1 parent 05f925a commit 7f3cb12

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.cirrus.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
RUSTDOCFLAGS: -D warnings
1010
TOOL: cargo
1111
# The MSRV
12-
TOOLCHAIN: 1.56.1
12+
TOOLCHAIN: 1.63
1313
ZFLAGS:
1414

1515
# Tests that don't require executing the build binaries
@@ -140,23 +140,24 @@ task:
140140
matrix:
141141
- name: Linux aarch64
142142
arm_container:
143-
image: rust:1.56
143+
image: rust:1.63
144144
env:
145145
RUSTFLAGS: --cfg graviton -D warnings
146146
TARGET: aarch64-unknown-linux-gnu
147147
- name: Linux x86_64
148148
container:
149-
image: rust:1.56
149+
image: rust:1.63
150150
env:
151151
TARGET: x86_64-unknown-linux-gnu
152152
- name: Linux x86_64 musl
153153
container:
154-
image: rust:1.56
154+
image: rust:1.63
155155
env:
156156
TARGET: x86_64-unknown-linux-musl
157157
setup_script:
158158
- rustup target add $TARGET
159-
- rustup component add clippy
159+
- rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET
160+
- rustup component add --toolchain $TOOLCHAIN clippy
160161
<< : *TEST
161162
before_cache_script: rm -rf $CARGO_HOME/registry/index
162163

@@ -176,7 +177,7 @@ task:
176177
# Tasks for cross-compiling, but no testing
177178
task:
178179
container:
179-
image: rust:1.56
180+
image: rust:1.63
180181
env:
181182
BUILD: check
182183
HOST: x86_64-unknown-linux-gnu
@@ -250,7 +251,7 @@ task:
250251

251252
task:
252253
container:
253-
image: rust:1.56
254+
image: rust:1.63
254255
env:
255256
BUILD: check
256257
name: Redox x86_64

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
7171
([#1870](https://github.com/nix-rust/nix/pull/1870))
7272
- The `length` argument of `sys::mman::mmap` is now of type `NonZeroUsize`.
7373
([#1873](https://github.com/nix-rust/nix/pull/1873))
74+
- The MSRV is now 1.63
75+
([#1862](https://github.com/nix-rust/nix/pull/1862))
7476

7577
### Fixed
7678

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "nix"
33
description = "Rust friendly bindings to *nix APIs"
44
edition = "2018"
55
version = "0.26.1"
6-
rust-version = "1.56"
6+
rust-version = "1.63"
77
authors = ["The nix-rust Project Developers"]
88
repository = "https://github.com/nix-rust/nix"
99
license = "MIT"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Tier 3:
8989

9090
## Minimum Supported Rust Version (MSRV)
9191

92-
nix is supported on Rust 1.56.1 and higher. Its MSRV will not be
92+
nix is supported on Rust 1.63 and higher. Its MSRV will not be
9393
changed in the future without bumping the major or minor version.
9494

9595
## Contributing

0 commit comments

Comments
 (0)