Skip to content

Commit f1bdc82

Browse files
committed
Raise minimum supported Rust version to 1.40.0
1.38.0 or higher is required for Fuchsia support, which will be added in a subsequent commit. 1.38.0 introduced cfg(doctest), but it was not stabilized until 1.40.0. cfg(doctest) is used by remove_dir_all, which is a transitive dependency via tempfile. This means we must raise MSRV to 1.40.0 to avoid unstable feature errors.
1 parent 0fd17fc commit f1bdc82

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.cirrus.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ task:
116116
TARGET: x86_64-unknown-linux-musl
117117
TOOLCHAIN: 1.40.0
118118
container:
119-
image: rust:1.36
119+
image: rust:1.40
120120
setup_script:
121121
- rustup toolchain install $TOOLCHAIN
122122
- rustup target add --toolchain $TOOLCHAIN $TARGET
@@ -161,7 +161,7 @@ task:
161161
env:
162162
TARGET: x86_64-unknown-netbsd
163163
container:
164-
image: rust:1.36
164+
image: rust:1.40
165165
setup_script:
166166
- rustup target add $TARGET
167167
script:

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
### Added
88
- Added `mremap` (#[1306](https://github.com/nix-rust/nix/pull/1306))
99

10+
### Changed
11+
- Minimum supported Rust version is now 1.40.0.
12+
([#1285](https://github.com/nix-rust/nix/pull/1285))
1013
### Fixed
1114
### Changed
1215

0 commit comments

Comments
 (0)