diff --git a/Cargo.toml b/Cargo.toml index 0d21b9424..3ad658719 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -76,3 +76,6 @@ members = [ exclude = [ "programs/bpf", ] + +[profile.dev] +split-debuginfo = "unpacked" diff --git a/ci/docker-rust-nightly/Dockerfile b/ci/docker-rust-nightly/Dockerfile index 5b15559bb..4cf08b7cb 100644 --- a/ci/docker-rust-nightly/Dockerfile +++ b/ci/docker-rust-nightly/Dockerfile @@ -1,4 +1,4 @@ -FROM solanalabs/rust:1.50.0 +FROM solanalabs/rust:1.51.0 ARG date RUN set -x \ diff --git a/ci/docker-rust/Dockerfile b/ci/docker-rust/Dockerfile index f73e0edb2..bad2bd715 100644 --- a/ci/docker-rust/Dockerfile +++ b/ci/docker-rust/Dockerfile @@ -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.50.0 +FROM rust:1.51.0 # Add Google Protocol Buffers for Libra's metrics library. ENV PROTOC_VERSION 3.8.0 diff --git a/ci/rust-version.sh b/ci/rust-version.sh index eca1a0a53..b8719f280 100644 --- a/ci/rust-version.sh +++ b/ci/rust-version.sh @@ -18,13 +18,13 @@ if [[ -n $RUST_STABLE_VERSION ]]; then stable_version="$RUST_STABLE_VERSION" else - stable_version=1.50.0 + stable_version=1.51.0 fi if [[ -n $RUST_NIGHTLY_VERSION ]]; then nightly_version="$RUST_NIGHTLY_VERSION" else - nightly_version=2021-02-18 + nightly_version=2021-04-18 fi