Skip to content

Commit

Permalink
Update to Rust stable 1.31.0. Closes https://github.com/iceiix/steven…
Browse files Browse the repository at this point in the history
  • Loading branch information
iceiix committed Dec 7, 2018
1 parent 3a35926 commit baa81a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist: trusty
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly
Expand Down
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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\"
Expand Down

0 comments on commit baa81a2

Please sign in to comment.