Upgrade to rust 1.38
This commit is contained in:
parent
0bf1a24bf5
commit
a20f12865a
|
@ -78,7 +78,7 @@ $ source $HOME/.cargo/env
|
|||
$ 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
|
||||
$ rustup update
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Note: when the rust version is changed also modify
|
||||
# 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.
|
||||
ENV PROTOC_VERSION 3.8.0
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
# $ source ci/rust-version.sh
|
||||
#
|
||||
|
||||
stable_version=1.37.0
|
||||
nightly_version=2019-08-21
|
||||
stable_version=1.38.0
|
||||
nightly_version=2019-09-25
|
||||
|
||||
export rust_stable="$stable_version"
|
||||
export rust_stable_docker_image=solanalabs/rust:"$stable_version"
|
||||
|
|
|
@ -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
|
||||
necessary feature information to stderr during a build:
|
||||
```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
|
||||
$ git apply 0001-Print-package-features.patch
|
||||
$ cargo build
|
||||
|
|
Loading…
Reference in New Issue