Skip to content

Commit 11f5e0d

Browse files
committed
Raise minimum supported Rust version to 1.36.0
The minimum supported Rust version is being raised to 1.36.0 as this is the first release to support the `mem::MaybeUninit` feature. Signed-off-by: Otavio Salvador <[email protected]>
1 parent 22b2cc5 commit 11f5e0d

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ task:
1414
setup_script:
1515
- pkg install -y curl
1616
- curl https://sh.rustup.rs -sSf --output rustup.sh
17-
- sh rustup.sh -y --default-toolchain 1.31.0
17+
- sh rustup.sh -y --default-toolchain 1.36.0
1818
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
1919
amd64_test_script:
2020
- . $HOME/.cargo/env

.travis.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,71 +18,71 @@ matrix:
1818
# week. Additionally they're moved to the front of the line to get them in
1919
# the Travis OS X build queue first.
2020
- env: TARGET="aarch64-apple-ios;armv7-apple-ios;armv7s-apple-ios;i386-apple-ios;x86_64-apple-ios" DISABLE_TESTS=1
21-
rust: 1.31.0
21+
rust: 1.36.0
2222
os: osx
2323

2424
# Mac builds
2525
# These are also moved to be first because they wait in a long queue with
2626
# Travis
2727
- env: TARGET=i686-apple-darwin
28-
rust: 1.31.0
28+
rust: 1.36.0
2929
os: osx
3030
- env: TARGET=x86_64-apple-darwin
31-
rust: 1.31.0
31+
rust: 1.36.0
3232
os: osx
3333

3434
# Android
3535
- env: TARGET=aarch64-linux-android DISABLE_TESTS=1
36-
rust: 1.31.0
36+
rust: 1.36.0
3737
- env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
38-
rust: 1.31.0
38+
rust: 1.36.0
3939
- env: TARGET=armv7-linux-androideabi DISABLE_TESTS=1
40-
rust: 1.31.0
40+
rust: 1.36.0
4141
- env: TARGET=i686-linux-android DISABLE_TESTS=1
42-
rust: 1.31.0
42+
rust: 1.36.0
4343
- env: TARGET=x86_64-linux-android DISABLE_TESTS=1
44-
rust: 1.31.0
44+
rust: 1.36.0
4545

4646
# Linux
4747
- env: TARGET=aarch64-unknown-linux-gnu
48-
rust: 1.31.0
48+
rust: 1.36.0
4949
- env: TARGET=arm-unknown-linux-gnueabi
50-
rust: 1.31.0
50+
rust: 1.36.0
5151
- env: TARGET=arm-unknown-linux-musleabi DISABLE_TESTS=1
52-
rust: 1.31.0
52+
rust: 1.36.0
5353
- env: TARGET=armv7-unknown-linux-gnueabihf
54-
rust: 1.31.0
54+
rust: 1.36.0
5555
- env: TARGET=i686-unknown-linux-gnu
56-
rust: 1.31.0
56+
rust: 1.36.0
5757
- env: TARGET=i686-unknown-linux-musl
58-
rust: 1.31.0
58+
rust: 1.36.0
5959
- env: TARGET=mips-unknown-linux-gnu
60-
rust: 1.31.0
60+
rust: 1.36.0
6161
- env: TARGET=mips64-unknown-linux-gnuabi64
62-
rust: 1.31.0
62+
rust: 1.36.0
6363
- env: TARGET=mips64el-unknown-linux-gnuabi64
64-
rust: 1.31.0
64+
rust: 1.36.0
6565
- env: TARGET=mipsel-unknown-linux-gnu
66-
rust: 1.31.0
66+
rust: 1.36.0
6767
- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
68-
rust: 1.31.0
68+
rust: 1.36.0
6969
- env: TARGET=powerpc64-unknown-linux-gnu
70-
rust: 1.31.0
70+
rust: 1.36.0
7171
- env: TARGET=powerpc64le-unknown-linux-gnu
72-
rust: 1.31.0
72+
rust: 1.36.0
7373
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
74-
rust: 1.31.0
74+
rust: 1.36.0
7575
- env: TARGET=x86_64-unknown-linux-gnu
76-
rust: 1.31.0
76+
rust: 1.36.0
7777
- env: TARGET=x86_64-unknown-linux-musl
78-
rust: 1.31.0
78+
rust: 1.36.0
7979

8080
# *BSD
8181
# FreeBSD i686 and x86_64 use Cirrus instead of Travis
8282
# - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
8383
# - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
8484
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
85-
rust: 1.31.0
85+
rust: 1.36.0
8686

8787
# Make sure stable is always working too
8888
- env: TARGET=x86_64-unknown-linux-gnu

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2323
let _: OsString = readlinkat(dirfd, &path);
2424
```
2525

26+
- Minimum supported Rust version is now 1.36.0.
27+
([#1108](https://github.com/nix-rust/nix/pull/1108))
2628
### Fixed
2729
### Removed
2830

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Tier 2:
8383

8484
## Usage
8585

86-
`nix` requires Rust 1.31.0 or newer.
86+
`nix` requires Rust 1.36.0 or newer.
8787

8888
To use `nix`, first add this to your `Cargo.toml`:
8989

0 commit comments

Comments
 (0)