From 87052927afd505ff1c5d42075cd23a3619b29011 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 10 Sep 2021 10:15:21 +0900 Subject: [PATCH] chore: upgrade Rust to 1.55.0 (#11965) --- .devcontainer/Dockerfile | 4 ++-- .github/workflows/ci.yml | 2 +- runtime/errors.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b127f11f0b..5438ca19eb 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 -# Update to Rust 1.54.0 -RUN rustup update 1.54.0 && rustup default 1.54.0 +# Update to Rust 1.55.0 +RUN rustup update 1.55.0 && rustup default 1.55.0 # Install Deno ENV DENO_INSTALL=/usr/local diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe8ba756c5..3cca65b246 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: - name: Install Rust uses: hecrj/setup-rust-action@v1 with: - rust-version: 1.54.0 + rust-version: 1.55.0 - name: Install clippy and rustfmt if: matrix.job == 'lint' diff --git a/runtime/errors.rs b/runtime/errors.rs index f88455b057..79f3c5e7a4 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -60,7 +60,7 @@ fn get_io_error_class(error: &io::Error) -> &'static str { WouldBlock => unreachable!(), // Non-exhaustive enum - might add new variants // in the future - _ => unreachable!(), + _ => "Error", } }