summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2019-08-22 01:18:37 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2019-08-28 18:43:46 -0300
commit11f5e0d1bf4f55c272a8b85a05ba00eef6b84a8b (patch)
treec4fb0a6374333bda67635c92c6855e2c501fc08d
parent22b2cc542631eac3edba80e2dcfa220cb19902ca (diff)
downloadnix-11f5e0d1bf4f55c272a8b85a05ba00eef6b84a8b.zip
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 <otavio@ossystems.com.br>
-rw-r--r--.cirrus.yml2
-rw-r--r--.travis.yml50
-rw-r--r--CHANGELOG.md2
-rw-r--r--README.md2
4 files changed, 29 insertions, 27 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index db1a90ad..ffb3d345 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -14,7 +14,7 @@ task:
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- - sh rustup.sh -y --default-toolchain 1.31.0
+ - sh rustup.sh -y --default-toolchain 1.36.0
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
amd64_test_script:
- . $HOME/.cargo/env
diff --git a/.travis.yml b/.travis.yml
index 664905a2..0e31309c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,71 +18,71 @@ matrix:
# week. Additionally they're moved to the front of the line to get them in
# the Travis OS X build queue first.
- env: TARGET="aarch64-apple-ios;armv7-apple-ios;armv7s-apple-ios;i386-apple-ios;x86_64-apple-ios" DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
os: osx
# Mac builds
# These are also moved to be first because they wait in a long queue with
# Travis
- env: TARGET=i686-apple-darwin
- rust: 1.31.0
+ rust: 1.36.0
os: osx
- env: TARGET=x86_64-apple-darwin
- rust: 1.31.0
+ rust: 1.36.0
os: osx
# Android
- env: TARGET=aarch64-linux-android DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=armv7-linux-androideabi DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=i686-linux-android DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=x86_64-linux-android DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
# Linux
- env: TARGET=aarch64-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=arm-unknown-linux-gnueabi
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=arm-unknown-linux-musleabi DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=armv7-unknown-linux-gnueabihf
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=i686-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=i686-unknown-linux-musl
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=mips-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=mips64-unknown-linux-gnuabi64
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=mips64el-unknown-linux-gnuabi64
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=mipsel-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=powerpc64-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=powerpc64le-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=x86_64-unknown-linux-gnu
- rust: 1.31.0
+ rust: 1.36.0
- env: TARGET=x86_64-unknown-linux-musl
- rust: 1.31.0
+ rust: 1.36.0
# *BSD
# FreeBSD i686 and x86_64 use Cirrus instead of Travis
# - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
# - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
- rust: 1.31.0
+ rust: 1.36.0
# Make sure stable is always working too
- env: TARGET=x86_64-unknown-linux-gnu
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f89df4a..91af769e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
let _: OsString = readlinkat(dirfd, &path);
```
+- Minimum supported Rust version is now 1.36.0.
+ ([#1108](https://github.com/nix-rust/nix/pull/1108))
### Fixed
### Removed
diff --git a/README.md b/README.md
index 0e540ba5..f3a3c09a 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ Tier 2:
## Usage
-`nix` requires Rust 1.31.0 or newer.
+`nix` requires Rust 1.36.0 or newer.
To use `nix`, first add this to your `Cargo.toml`: