Update to Rust stable 1.31.0. Closes https://github.com/iceiix/steven/issues/47 (#60)
This commit is contained in:
parent
3a359267dd
commit
bd4a521072
|
@ -4,6 +4,7 @@ dist: trusty
|
|||
rust:
|
||||
- nightly
|
||||
- beta
|
||||
- stable
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
|
|
16
README.md
16
README.md
|
@ -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
|
||||
|
|
|
@ -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\"
|
||||
|
||||
|
|
Loading…
Reference in New Issue