Upgrade to rust 1.38

This commit is contained in:
Michael Vines 2019-09-27 08:12:43 -07:00
parent 0bf1a24bf5
commit a20f12865a
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
4 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ $ source $HOME/.cargo/env
$ rustup component add rustfmt $ rustup component add rustfmt
``` ```
If your rustc version is lower than 1.37.0, please update it: If your rustc version is lower than 1.38.0, please update it:
```bash ```bash
$ rustup update $ rustup update

View File

@ -1,6 +1,6 @@
# Note: when the rust version is changed also modify # Note: when the rust version is changed also modify
# ci/rust-version.sh to pick up the new image tag # ci/rust-version.sh to pick up the new image tag
FROM rust:1.37.0 FROM rust:1.38.0
# Add Google Protocol Buffers for Libra's metrics library. # Add Google Protocol Buffers for Libra's metrics library.
ENV PROTOC_VERSION 3.8.0 ENV PROTOC_VERSION 3.8.0

View File

@ -13,8 +13,8 @@
# $ source ci/rust-version.sh # $ source ci/rust-version.sh
# #
stable_version=1.37.0 stable_version=1.38.0
nightly_version=2019-08-21 nightly_version=2019-09-25
export rust_stable="$stable_version" export rust_stable="$stable_version"
export rust_stable_docker_image=solanalabs/rust:"$stable_version" export rust_stable_docker_image=solanalabs/rust:"$stable_version"

View File

@ -36,7 +36,7 @@ This information is not readily available from the stock `cargo` program, so use
the following steps to produce a custom `cargo` program that will output the the following steps to produce a custom `cargo` program that will output the
necessary feature information to stderr during a build: necessary feature information to stderr during a build:
```bash ```bash
$ git clone git@github.com:rust-lang/cargo.git -b rust-1.37.0 $ git clone git@github.com:rust-lang/cargo.git -b rust-1.38.0
$ cd cargo $ cd cargo
$ git apply 0001-Print-package-features.patch $ git apply 0001-Print-package-features.patch
$ cargo build $ cargo build