Upgrade to Rust 1.51.0

This commit is contained in:
Michael Vines 2021-04-18 09:53:22 -07:00
parent cfe7a4340b
commit 3b79b21e9d
4 changed files with 7 additions and 4 deletions

View File

@ -76,3 +76,6 @@ members = [
exclude = [ exclude = [
"programs/bpf", "programs/bpf",
] ]
[profile.dev]
split-debuginfo = "unpacked"

View File

@ -1,4 +1,4 @@
FROM solanalabs/rust:1.50.0 FROM solanalabs/rust:1.51.0
ARG date ARG date
RUN set -x \ RUN set -x \

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.50.0 FROM rust:1.51.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

@ -18,13 +18,13 @@
if [[ -n $RUST_STABLE_VERSION ]]; then if [[ -n $RUST_STABLE_VERSION ]]; then
stable_version="$RUST_STABLE_VERSION" stable_version="$RUST_STABLE_VERSION"
else else
stable_version=1.50.0 stable_version=1.51.0
fi fi
if [[ -n $RUST_NIGHTLY_VERSION ]]; then if [[ -n $RUST_NIGHTLY_VERSION ]]; then
nightly_version="$RUST_NIGHTLY_VERSION" nightly_version="$RUST_NIGHTLY_VERSION"
else else
nightly_version=2021-02-18 nightly_version=2021-04-18
fi fi