Update to Rust stable 1.31.0. Closes https://github.com/iceiix/steven/issues/47 (#60)

This commit is contained in:
iceiix 2018-12-06 18:16:57 -08:00 committed by GitHub
parent 3a359267dd
commit bd4a521072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 16 deletions

View File

@ -4,6 +4,7 @@ dist: trusty
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly

View File

@ -26,7 +26,7 @@ The Visual Studio 2017 Redistributable is required to run these builds.
## Building
Currently requires Rust version 1.31.0-beta or newer to build.
Requires Rust stable version 1.31.0 or newer to build.
Compile and run:
```bash
@ -37,20 +37,6 @@ Just compile:
cargo build --release
```
### Prerequisites
An easy way to manage multiple Rust toolchains is [`rustup`](https://github.com/rust-lang-nursery/rustup.rs). Installation instructions for `rustup` can be found on its [website](https://www.rustup.rs/).
Once you've set up `rustup`, grab Rust beta by running
```sh
rustup install beta
```
Now we need to make sure that `steven` is compiled with beta. To do this without making beta the default across the entire system, run the following command in the `steven` directory:
```sh
rustup override set beta
```
## Running
### Standalone

View File

@ -21,7 +21,7 @@ build_script:
appveyor AddMessage "Platform rust: %RUST_INSTALL%"
appveyor DownloadFile "https://static.rust-lang.org/dist/rust-nightly-%RUST_INSTALL%.exe" -FileName rust-install.exe
appveyor DownloadFile "https://static.rust-lang.org/dist/rust-1.31.0-%RUST_INSTALL%.exe" -FileName rust-install.exe
"./rust-install.exe" /VERYSILENT /NORESTART /DIR="C:\Rust\"