Skip to content

Commit f39e858

Browse files
committed
Use the stable compiler to install cross
The `cross` tool is used during testing, but isn't a direct dependency. Use the stable compiler when installing it instead of the active toolchain during Travis tests to prevent having to update the MSRV to support building `cross`. Also update the MSRV to 1.36.0 in support of crossbeam, a transitive dependency which requires 1.36.0.
1 parent 4d384c5 commit f39e858

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rust:
77
- nightly
88
- stable
99
# MSRV
10-
- 1.35.0
10+
- 1.36.0
1111

1212
env: TARGET=x86_64-unknown-linux-gnu
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This project is developed and maintained by the [Tools team][team].
1313

1414
## Minimum Supported Rust Version (MSRV)
1515

16-
This crate is guaranteed to compile on stable Rust 1.35.0 and up. It *might*
16+
This crate is guaranteed to compile on stable Rust 1.36.0 and up. It *might*
1717
compile with older versions but that may change in any new patch release.
1818

1919
## License

ci/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ main() {
44
if [ -x "$(command -v cross)" ]; then
55
cross -V
66
else
7-
cargo install cross
7+
rustup install stable
8+
cargo +stable install cross
89
fi
910
}
1011

0 commit comments

Comments
 (0)