Skip to content

Commit 23fd096

Browse files
bors[bot]Bryant Mairs
and
Bryant Mairs
committed
Merge #966
966: Require Rust 1.24.1 r=asomers a=Susurrus `lazy_static` as of 1.2 requires Rust 1.24.1, so make that our minimum required. This was discovered when I looked into the failures of #965. @asomers if you agree with this change, could you update the buildbots here too? Co-authored-by: Bryant Mairs <bryantmairs@google.com>
2 parents 50658fd + 3fba79a commit 23fd096

File tree

4 files changed

+29
-28
lines changed

4 files changed

+29
-28
lines changed

.travis.yml

+25-25
Original file line numberDiff line numberDiff line change
@@ -22,63 +22,63 @@ matrix:
2222
# Additionally they're moved to the front of the line to get them in the Travis
2323
# OS X build queue first.
2424
- env: TARGET="aarch64-apple-ios;armv7-apple-ios;armv7s-apple-ios;i386-apple-ios;x86_64-apple-ios" DISABLE_TESTS=1
25-
rust: 1.22.1
25+
rust: 1.24.1
2626
os: osx
2727

2828
# Mac builds
2929
# These are also moved to be first because they wait in a long queue with Travis
3030
- env: TARGET=i686-apple-darwin
31-
rust: 1.22.1
31+
rust: 1.24.1
3232
os: osx
3333
- env: TARGET=x86_64-apple-darwin
34-
rust: 1.22.1
34+
rust: 1.24.1
3535
os: osx
3636

3737
# Android
3838
- env: TARGET=aarch64-linux-android DISABLE_TESTS=1
39-
rust: 1.22.1
39+
rust: 1.24.1
4040
- env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
41-
rust: 1.22.1
41+
rust: 1.24.1
4242
- env: TARGET=armv7-linux-androideabi DISABLE_TESTS=1
43-
rust: 1.22.1
43+
rust: 1.24.1
4444
- env: TARGET=i686-linux-android DISABLE_TESTS=1
45-
rust: 1.22.1
45+
rust: 1.24.1
4646
- env: TARGET=x86_64-linux-android DISABLE_TESTS=1
47-
rust: 1.22.1
47+
rust: 1.24.1
4848

4949
# Linux
5050
- env: TARGET=aarch64-unknown-linux-gnu
51-
rust: 1.22.1
51+
rust: 1.24.1
5252
- env: TARGET=arm-unknown-linux-gnueabi
53-
rust: 1.22.1
53+
rust: 1.24.1
5454
- env: TARGET=arm-unknown-linux-musleabi DISABLE_TESTS=1
55-
rust: 1.22.1
55+
rust: 1.24.1
5656
- env: TARGET=armv7-unknown-linux-gnueabihf
57-
rust: 1.22.1
57+
rust: 1.24.1
5858
- env: TARGET=i686-unknown-linux-gnu
59-
rust: 1.22.1
59+
rust: 1.24.1
6060
- env: TARGET=i686-unknown-linux-musl
61-
rust: 1.22.1
61+
rust: 1.24.1
6262
- env: TARGET=mips-unknown-linux-gnu
63-
rust: 1.22.1
63+
rust: 1.24.1
6464
- env: TARGET=mips64-unknown-linux-gnuabi64
65-
rust: 1.22.1
65+
rust: 1.24.1
6666
- env: TARGET=mips64el-unknown-linux-gnuabi64
67-
rust: 1.22.1
67+
rust: 1.24.1
6868
- env: TARGET=mipsel-unknown-linux-gnu
69-
rust: 1.22.1
69+
rust: 1.24.1
7070
- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
71-
rust: 1.22.1
71+
rust: 1.24.1
7272
- env: TARGET=powerpc64-unknown-linux-gnu
73-
rust: 1.22.1
73+
rust: 1.24.1
7474
- env: TARGET=powerpc64le-unknown-linux-gnu
75-
rust: 1.22.1
75+
rust: 1.24.1
7676
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
77-
rust: 1.22.1
77+
rust: 1.24.1
7878
- env: TARGET=x86_64-unknown-linux-gnu
79-
rust: 1.22.1
79+
rust: 1.24.1
8080
- env: TARGET=x86_64-unknown-linux-musl
81-
rust: 1.22.1
81+
rust: 1.24.1
8282

8383
# *BSD
8484
# FreeBSD i686 and x86_64 use BuildBot instead of Travis
@@ -87,7 +87,7 @@ matrix:
8787
# - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
8888
# - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
8989
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
90-
rust: 1.22.1
90+
rust: 1.24.1
9191

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

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3434
([#952](https://github.com/nix-rust/nix/pull/952))
3535

3636
### Changed
37-
- Increased required Rust version to 1.22.1/
37+
- Increased required Rust version to 1.24.1
3838
([#900](https://github.com/nix-rust/nix/pull/900))
39+
([#966](https://github.com/nix-rust/nix/pull/966))
3940

4041
### Fixed
4142
- Made `preadv` take immutable slice of IoVec.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cc = "1"
2626

2727
[dev-dependencies]
2828
bytes = "0.4.8"
29-
lazy_static = "1"
29+
lazy_static = "1.2"
3030
rand = "0.5"
3131
tempfile = "3"
3232

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ limitations. Support for platforms is split into three tiers:
4444
*do not* block the inclusion of new code. Testing may be run, but
4545
failures in tests don't block the inclusion of new code.
4646

47-
The following targets are all supported by nix on Rust 1.22.1 or newer (unless
47+
The following targets are all supported by nix on Rust 1.24.1 or newer (unless
4848
otherwise noted):
4949

5050
Tier 1:

0 commit comments

Comments
 (0)