Skip to content

Commit

Permalink
Update Rust version to 1.51 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky authored May 13, 2021
1 parent 869ff2c commit ae2b24c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM rust:1.47.0
FROM rust:1.51.0

RUN rustup component add rustfmt clippy && rustup toolchain install nightly

Expand Down
2 changes: 1 addition & 1 deletion build/release/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -eux; \
url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"; \
wget "$url"; \
chmod +x rustup-init; \
./rustup-init -y --no-modify-path --default-toolchain 1.47.0; \
./rustup-init -y --no-modify-path --default-toolchain 1.51.0; \
rm rustup-init; \
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
cargo install cross; \
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.

[toolchain]
channel = "1.47.0"
channel = "1.51.0"
components = ["rustfmt", "clippy"]

0 comments on commit ae2b24c

Please sign in to comment.