Skip to content

Commit

Permalink
Raise MSRV to 1.31.0
Browse files Browse the repository at this point in the history
One of our dependencies, fuchsia-cprng, now requires 1.31.0.
  • Loading branch information
asomers committed Jul 11, 2019
1 parent d848a66 commit b8f343b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.27.0
- sh rustup.sh -y --default-toolchain 1.31.0
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
amd64_test_script:
- . $HOME/.cargo/env
Expand Down
50 changes: 25 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.27.0
rust: 1.31.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.27.0
rust: 1.31.0
os: osx
- env: TARGET=x86_64-apple-darwin
rust: 1.27.0
rust: 1.31.0
os: osx

# Android
- env: TARGET=aarch64-linux-android DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=armv7-linux-androideabi DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=i686-linux-android DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=x86_64-linux-android DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0

# Linux
- env: TARGET=aarch64-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=arm-unknown-linux-gnueabi
rust: 1.27.0
rust: 1.31.0
- env: TARGET=arm-unknown-linux-musleabi DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=armv7-unknown-linux-gnueabihf
rust: 1.27.0
rust: 1.31.0
- env: TARGET=i686-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=i686-unknown-linux-musl
rust: 1.27.0
rust: 1.31.0
- env: TARGET=mips-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=mips64-unknown-linux-gnuabi64
rust: 1.27.0
rust: 1.31.0
- env: TARGET=mips64el-unknown-linux-gnuabi64
rust: 1.27.0
rust: 1.31.0
- env: TARGET=mipsel-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=powerpc64-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=powerpc64le-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
rust: 1.27.0
rust: 1.31.0
- env: TARGET=x86_64-unknown-linux-gnu
rust: 1.27.0
rust: 1.31.0
- env: TARGET=x86_64-unknown-linux-musl
rust: 1.27.0
rust: 1.31.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.27.0
rust: 1.31.0

# Make sure stable is always working too
- env: TARGET=x86_64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Support for `ifaddrs` now present when building for Android.
([#1077](https://github.com/nix-rust/nix/pull/1077))
- Minimum supported Rust version is now 1.27.0
- Minimum supported Rust version is now 1.31.0
([#1035](https://github.com/nix-rust/nix/pull/1035))
([#1095](https://github.com/nix-rust/nix/pull/1095))
- Now functions `statfs()` and `fstatfs()` return result with `Statfs` wrapper
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Tier 2:

## Usage

`nix` requires Rust 1.27.0 or newer.
`nix` requires Rust 1.31.0 or newer.

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

Expand Down

0 comments on commit b8f343b

Please sign in to comment.