Update to Rust v1.56

This commit is contained in:
Michael Vines
2021-10-22 17:49:46 -07:00
committed by mergify[bot]
parent e97ef6629a
commit 293a0d8797
4 changed files with 5 additions and 4 deletions

View File

@ -17,6 +17,7 @@ use {
thiserror::Error, thiserror::Error,
}; };
#[allow(clippy::large_enum_variant)]
enum PostgresClientEnum { enum PostgresClientEnum {
Simple(SimplePostgresClient), Simple(SimplePostgresClient),
Parallel(ParallelPostgresClient), Parallel(ParallelPostgresClient),

View File

@ -1,4 +1,4 @@
FROM solanalabs/rust:1.55.0 FROM solanalabs/rust:1.56.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.55.0 FROM rust:1.56.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.55.0 stable_version=1.56.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-10-05 nightly_version=2021-10-22
fi fi